]> git.baikalelectronics.ru Git - kernel.git/commit
xprtrdma: Remove FMR support in rpcrdma_convert_iovs()
authorChuck Lever <chuck.lever@oracle.com>
Thu, 4 Feb 2021 16:59:01 +0000 (11:59 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 5 Feb 2021 16:16:55 +0000 (11:16 -0500)
commit79f573f9a039868195b3433eab8dc55b9e5a140a
tree7a43a7fddcfb3b5b18ab063fe160ebc48718ec0d
parent3ac7d70a5defdb97ebd82a1524caf8531ea62e42
xprtrdma: Remove FMR support in rpcrdma_convert_iovs()

Support for FMR was removed by commit 84a0fea29b45 ("xprtrdma:
Remove support for FMR memory registration") [Dec 2018]. That means
the buffer-splitting behavior of rpcrdma_convert_kvec(), added by
commit 5c03582001de ("xprtrdma: Segment head and tail XDR buffers
on page boundaries") [Mar 2016], is no longer necessary. FRWR
memory registration handles this case with aplomb.

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