]> git.baikalelectronics.ru Git - kernel.git/commit
svcrdma: Refactor the RDMA Write path
authorChuck Lever <chuck.lever@oracle.com>
Fri, 13 Mar 2020 14:42:10 +0000 (10:42 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 30 Nov 2020 18:00:21 +0000 (13:00 -0500)
commitbcc4ae48614ccca5e7dcb472d4a8733eff16073d
tree66ce55b2e4ddaed355145ed29ecb2015379d3e0a
parenta3aaf33f5bb0ee977046e850f13e96bb3db0781d
svcrdma: Refactor the RDMA Write path

Refactor for subsequent changes.

Constify the xdr_buf argument to ensure the code here does not
modify it, and to enable callers to pass in a
"const struct xdr_buf *".

At the same time, rename the helper functions, which emit RDMA
Writes, not RDMA Sends, and add documenting comments.

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