]> 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)
commit14b815538c714f5dbc252509edb2a6208cfee40f
treef280dc7d027d1bfecf54428c2b13528ffd5266c4
parent2e58251e890260ae47959ca96914c982831ff64c
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