svcrdma: Move write_info for Reply chunks into struct svc_rdma_send_ctxt
authorChuck Lever <chuck.lever@oracle.com>
Sun, 4 Feb 2024 23:17:28 +0000 (18:17 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Fri, 1 Mar 2024 14:12:28 +0000 (09:12 -0500)
commita1f5788a0c250c87d3007d59d11a00ab98e66f01
treeba434288703f67593275858898b73f51879bf128
parent71b43531ee0be6dcaa406132ebd540022dcb12ea
svcrdma: Move write_info for Reply chunks into struct svc_rdma_send_ctxt

Since the RPC transaction's svc_rdma_send_ctxt will stay around for
the duration of the RDMA Write operation, the write_info structure
for the Reply chunk can reside in the request's svc_rdma_send_ctxt
instead of being allocated separately.

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