]> git.baikalelectronics.ru Git - kernel.git/commit
svcrdma: Reduce size of sge array in struct svc_rdma_op_ctxt
authorChuck Lever <chuck.lever@oracle.com>
Sun, 9 Apr 2017 17:06:57 +0000 (13:06 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 25 Apr 2017 21:25:55 +0000 (17:25 -0400)
commit5bfca651116775e71eec1b7af9f577f3a12ea14a
tree8152393c9a9373dd1b43cc3ebba1756792135984
parent0e7041c2851f4b37dacb4cdaa411065af5f49d45
svcrdma: Reduce size of sge array in struct svc_rdma_op_ctxt

The sge array in struct svc_rdma_op_ctxt is no longer used for
sending RDMA Write WRs. It need only accommodate the construction of
Send and Receive WRs. The maximum inline size is the largest payload
it needs to handle now.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/svc_rdma.h
net/sunrpc/xprtrdma/svc_rdma.c