xprtrdma: Shrink send SGEs array
authorChuck Lever <chuck.lever@oracle.com>
Wed, 8 Feb 2017 22:00:18 +0000 (17:00 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 10 Feb 2017 19:02:36 +0000 (14:02 -0500)
commitc6f5b47f9fdeef12c0896e5af4bb3416c97d91c4
treef280dc7d027d1bfecf54428c2b13528ffd5266c4
parent16f906d66cd76fb9895cbc628f447532a7ac1faa
xprtrdma: Shrink send SGEs array

We no longer need to accommodate an xdr_buf whose pages start at an
offset and cross extra page boundaries. If there are more partial or
whole pages to send than there are available SGEs, the marshaling
logic is now smart enough to use a Read chunk instead of failing.

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