]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Update the GFP flags used in xprt_rdma_allocate()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 26 Jan 2015 22:11:47 +0000 (17:11 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 30 Jan 2015 17:18:48 +0000 (12:18 -0500)
commitf095bfe6eb7cc7d09213579466a3483311b5329f
tree996b9d3d431441d50efe63369cde5b04c0909075
parent7ae9e49390a6a5a23ddc6cf34063fbd80436e904
xprtrdma: Update the GFP flags used in xprt_rdma_allocate()

Reflect the more conservative approach used in the socket transport's
version of this transport method. An RPC buffer allocation should
avoid forcing not just FS activity, but any I/O.

In particular, two recent changes missed updating xprtrdma:

 - Commit f2c5054cd9b1 ("net, sunrpc: suppress allocation warning ...")
 - Commit 58034a928d79 ("nfs: enable swap on NFS")

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/transport.c