]> git.ipfire.org Git - thirdparty/linux.git/commit
svcrdma: Copy construction of svc_rqst::rq_arg to rdma_read_complete()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 18 Dec 2023 22:32:01 +0000 (17:32 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Sun, 7 Jan 2024 22:54:33 +0000 (17:54 -0500)
commitecba85e951c178e3fe7cea04eebf1035e8168f93
tree4ef7f38b61b8e87fb0721481152b71e3d54e733a
parenta937693a82fd2211c5e52b638959d1486a77d16a
svcrdma: Copy construction of svc_rqst::rq_arg to rdma_read_complete()

Once a set of RDMA Reads are complete, the Read completion handler
will poke the transport to trigger a second call to
svc_rdma_recvfrom(). recvfrom() will then merge the RDMA Read
payloads with the previously received RPC header to form a completed
RPC Call message.

The new code is copied from the svc_rdma_process_read_list() path.
A subsequent patch will make use of this code and remove the code
that this was copied from (svc_rdma_rw.c).

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/trace/events/rpcrdma.h
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c