]> git.baikalelectronics.ru Git - kernel.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)
commit5d588db834e3103d8e37e8878d8173f0ebbdea38
tree59a9b60cf045fff58eb3331e2b7869e46b758b70
parente65b7fedd1966a35d77e2061927cbe0eb5c093b1
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