Skip to content

RDMA/rw: Fix MR pool exhaustion in bvec RDMA READ path

Chuck Lever linux-nfs linux-rdma 3 versions – Applied

Status from this message: I applied these two to wip/leon-for-rc.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 7 repliesApplied
  2. v22 patches 1 replySuperseded
  3. v11 patch 5 repliesSuperseded

Changes in v3 from the cover letter

- Fix similar exhaustion issue for SGL
- Add patch that introduces svc_rqst_page_release

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4RDMA/rw: Fall back to direct SGE on MR pool exhaustiondrivers/infiniband/core/rw.c+21 -61 reply
2/4RDMA/rw: Fix MR pool exhaustion in bvec RDMA READ pathdrivers/infiniband/core/rw.c+9 -71 reply
3/4SUNRPC: Add svc_rqst_page_release() helperinclude/linux/sunrpc/svc.h net/sunrpc/svc.c net/sunrpc/svcsock.c+18 -61 reply
4/4svcrdma: Use contiguous pages for RDMA Read sink buffersnet/sunrpc/xprtrdma/svc_rdma_rw.c+220 -02 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/4R-b
2/4R-b
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

From: Chuck Lever <[email protected]>

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
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(-)
Signature · 1 line
2.53.0