]> asedeno.scripts.mit.edu Git - linux.git/commit
xprtrdma: Move struct ib_send_wr off the stack
authorChuck Lever <chuck.lever@oracle.com>
Wed, 16 Dec 2015 22:22:31 +0000 (17:22 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 18 Dec 2015 20:34:33 +0000 (15:34 -0500)
commit3cf4e169be95e1a3a70a063b6bd8103fbd5911f3
tree59a9b60cf045fff58eb3331e2b7869e46b758b70
parentc8bbe0c7fec3a6fd01d445eea11e72e902403ea9
xprtrdma: Move struct ib_send_wr off the stack

For FRWR FASTREG and LOCAL_INV, move the ib_*_wr structure off
the stack. This allows frwr_op_map and frwr_op_unmap to chain
WRs together without limit to register or invalidate a set of MRs
with a single ib_post_send().

(This will be for chaining LOCAL_INV requests).

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Tested-by: Devesh Sharma <devesh.sharma@avagotech.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/frwr_ops.c
net/sunrpc/xprtrdma/xprt_rdma.h