]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Clean up rpcrdma_prepare_readch()
authorChuck Lever <chuck.lever@oracle.com>
Fri, 5 Feb 2021 16:31:34 +0000 (11:31 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 5 Feb 2021 20:54:03 +0000 (15:54 -0500)
commitcde47f9f9ed97dfa40b2fcbd952d47cdf74a861b
tree133e25d443369d9f1eb9ee6fe0f26b8c916f7dc3
parent042ceb3a1176a46f120fdaee3d8ee9bbac5f58ce
xprtrdma: Clean up rpcrdma_prepare_readch()

Since commit f4f738094173 ("SUNRPC: Clean up the handling of page
padding in rpc_prepare_reply_pages()") [Dec 2020] the NFS client
passes payload data to the transport with the padding in xdr->pages
instead of in the send buffer's tail kvec. There's no need for the
extra logic to advance the base of the tail kvec because the upper
layer no longer places XDR padding there.

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