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)
commitab1394ee7a110190c2ea38e1f1b72737daa10f20
tree66ce55b2e4ddaed355145ed29ecb2015379d3e0a
parent51bad8cc1301f14ebf6840a6d8098520553ed5d5
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