OSDN Git Service

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)
commita0a1d50cd1e80652142af5cddcde500d06c71bdd
tree996b9d3d431441d50efe63369cde5b04c0909075
parentdf515ca7b3b47bf6fd489fe6fca0d9ab243e1985
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 c6c8fe79a83e ("net, sunrpc: suppress allocation warning ...")
 - Commit a564b8f03986 ("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