Re: [PATCH v3 0/4] RDMA/rw: Fix MR pool exhaustion in bvec RDMA READ path

Leon Romanovsky
2026-03-16T20:16:05Z

On Fri, Mar 13, 2026 at 03:41:57PM -0400, Chuck Lever wrote:
> From: Chuck Lever <chuck.lever@oracle.com>
>
> This series now carries two MR exhaustion fixes and a proposal for
> using contiguous pages for RDMA Read sink buffers in svcrdma.
>
> Fixes for the MR exhaustion issues should go into 7.0-rc and stable,
> and the contiguous page patches can wait for the next merge window.
>
> Base commit: v7.0-rc3
> ---
> Changes since v2:
> - Fix similar exhaustion issue for SGL
> - Add patch that introduces svc_rqst_page_release
>
> Changes since v1:
> - Clarify code comments
> - Allocate contiguous pages for RDMA Read sink buffers
>
> Chuck Lever (4):
> RDMA/rw: Fall back to direct SGE on MR pool exhaustion
> RDMA/rw: Fix MR pool exhaustion in bvec RDMA READ path

I applied these two to wip/leon-for-rc.

Thanks

> SUNRPC: Add svc_rqst_page_release() helper
> svcrdma: Use contiguous pages for RDMA Read sink buffers
>
> drivers/infiniband/core/rw.c | 43 ++++--
> include/linux/sunrpc/svc.h | 15 ++
> net/sunrpc/svc.c | 7 +-
> net/sunrpc/svcsock.c | 2 +-
> net/sunrpc/xprtrdma/svc_rdma_rw.c | 220 ++++++++++++++++++++++++++++++
> 5 files changed, 268 insertions(+), 19 deletions(-)
>
> --
> 2.53.0
>