]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite13963a473ddc8045005ee64daf7abba1533a760
treef280dc7d027d1bfecf54428c2b13528ffd5266c4
parent729f74920478c849c08a2f43990dedff75e9b137
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