mbox series

[v1,00/21] svc_rdma_read_info clean ups

Message ID 170170144201.54779.9877683240030806819.stgit@bazille.1015granger.net (mailing list archive)
Headers show
Series svc_rdma_read_info clean ups | expand

Message

Chuck Lever Dec. 4, 2023, 2:56 p.m. UTC
These patches are in preparation for more substantial changes to how
Read chunks are managed by svcrdma. There are a lot of patches in
this series, but each change is narrow and no external behavior
changes are expected.

The main benefit of this series is that svc_rdma_read_info is no
longer dynamically allocated.

---

Chuck Lever (21):
      svcrdma: Reduce size of struct svc_rdma_rw_ctxt
      svcrdma: Acquire the svcxprt_rdma pointer from the CQ context
      svcrdma: Explicitly pass the transport into Write chunk I/O paths
      svcrdma: Explicitly pass the transport into Read chunk I/O paths
      svcrdma: Explicitly pass the transport to svc_rdma_post_chunk_ctxt()
      svcrdma: Pass a pointer to the transport to svc_rdma_cc_release()
      svcrdma: Remove the svc_rdma_chunk_ctxt::cc_rdma field
      svcrdma: Move struct svc_rdma_chunk_ctxt to svc_rdma.h
      svcrdma: Start moving fields out of struct svc_rdma_read_info
      svcrdma: Move svc_rdma_read_info::ri_pageno to struct svc_rdma_recv_ctxt
      svcrdma: Move read_info::ri_pageoff into struct svc_rdma_recv_ctxt
      svcrdma: Update synopsis of svc_rdma_build_read_segment()
      svcrdma: Update synopsis of svc_rdma_build_read_chunk()
      svcrdma: Update synopsis of svc_rdma_read_chunk_range()
      svcrdma: Update the synopsis of svc_rdma_read_data_item()
      svcrdma: Update synopsis of svc_rdma_copy_inline_range()
      svcrdma: Update synopsis of svc_rdma_read_multiple_chunks()
      svcrdma: Update the synopsis of svc_rdma_read_call_chunk()
      svcrdma: Update the synopsis of svc_rdma_read_special()
      svcrdma: Remove struct svc_rdma_read_info
      svcrdma: Move the svc_rdma_cc_init() call


 include/linux/sunrpc/svc_rdma.h         |  30 +++
 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c |   1 +
 net/sunrpc/xprtrdma/svc_rdma_rw.c       | 310 +++++++++++-------------
 3 files changed, 169 insertions(+), 172 deletions(-)

--
Chuck Lever

Comments

Chuck Lever Dec. 4, 2023, 3 p.m. UTC | #1
On Mon, Dec 04, 2023 at 09:56:18AM -0500, Chuck Lever wrote:
> These patches are in preparation for more substantial changes to how
> Read chunks are managed by svcrdma. There are a lot of patches in
> this series, but each change is narrow and no external behavior
> changes are expected.
> 
> The main benefit of this series is that svc_rdma_read_info is no
> longer dynamically allocated.

Note that the full series is available in the svcrdma-next branch
in this repo:

  https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git


> ---
> 
> Chuck Lever (21):
>       svcrdma: Reduce size of struct svc_rdma_rw_ctxt
>       svcrdma: Acquire the svcxprt_rdma pointer from the CQ context
>       svcrdma: Explicitly pass the transport into Write chunk I/O paths
>       svcrdma: Explicitly pass the transport into Read chunk I/O paths
>       svcrdma: Explicitly pass the transport to svc_rdma_post_chunk_ctxt()
>       svcrdma: Pass a pointer to the transport to svc_rdma_cc_release()
>       svcrdma: Remove the svc_rdma_chunk_ctxt::cc_rdma field
>       svcrdma: Move struct svc_rdma_chunk_ctxt to svc_rdma.h
>       svcrdma: Start moving fields out of struct svc_rdma_read_info
>       svcrdma: Move svc_rdma_read_info::ri_pageno to struct svc_rdma_recv_ctxt
>       svcrdma: Move read_info::ri_pageoff into struct svc_rdma_recv_ctxt
>       svcrdma: Update synopsis of svc_rdma_build_read_segment()
>       svcrdma: Update synopsis of svc_rdma_build_read_chunk()
>       svcrdma: Update synopsis of svc_rdma_read_chunk_range()
>       svcrdma: Update the synopsis of svc_rdma_read_data_item()
>       svcrdma: Update synopsis of svc_rdma_copy_inline_range()
>       svcrdma: Update synopsis of svc_rdma_read_multiple_chunks()
>       svcrdma: Update the synopsis of svc_rdma_read_call_chunk()
>       svcrdma: Update the synopsis of svc_rdma_read_special()
>       svcrdma: Remove struct svc_rdma_read_info
>       svcrdma: Move the svc_rdma_cc_init() call
> 
> 
>  include/linux/sunrpc/svc_rdma.h         |  30 +++
>  net/sunrpc/xprtrdma/svc_rdma_recvfrom.c |   1 +
>  net/sunrpc/xprtrdma/svc_rdma_rw.c       | 310 +++++++++++-------------
>  3 files changed, 169 insertions(+), 172 deletions(-)
> 
> --
> Chuck Lever
> 
>