]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Move recv_wr to struct rpcrdma_rep
authorChuck Lever <chuck.lever@oracle.com>
Thu, 15 Sep 2016 14:56:51 +0000 (10:56 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 19 Sep 2016 17:08:38 +0000 (13:08 -0400)
commit3cbf2471f8c297b17550e5604f0d32519b5ce7dd
treea0da854803ebec648f62654c125b45aab88c6001
parentc690466f383e120fa31318c250b40b1dde1dd8f4
xprtrdma: Move recv_wr to struct rpcrdma_rep

Clean up: The fields in the recv_wr do not vary. There is no need to
initialize them before each ib_post_recv(). This removes a large-ish
data structure from the stack.

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