]> 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)
commit3166c73afcb15f13b26cadac85ed920a8ec52d89
tree133e25d443369d9f1eb9ee6fe0f26b8c916f7dc3
parent63243251aa473c1d0ee9b0c884d33532f3ed7586
xprtrdma: Clean up rpcrdma_prepare_readch()

Since commit 89a4fba7ff58 ("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