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

Chuck Lever
2026-03-16T20:25:21Z

On Mon, Mar 16, 2026, at 4:15 PM, Leon Romanovsky wrote:
> 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

Thanks, Leon. I will apply the other two to nfsd-testing.

>> 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
>>

--
Chuck Lever