Skip to content

RTRS enable write path fast memory regitration

Jack Wang linux-rdma 2 versions – Applied

Status from this message: Applied to for-next, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/25 patches 1 replyApplied
  2. v1 posting 1/25 patches 2 repliesSuperseded

Patches in v1 posting 2/2 Applied

#Subject and filesSizeRepliesApplied
1/5RDMA/rtrs: Introduce head/tail wrdrivers/infiniband/ulp/rtrs/rtrs-clt.c drivers/infiniband/ulp/rtrs/rtrs-pri.h drivers/infiniband/ulp/rtrs/rtrs.c+27 -200 replies
2/5RDMA/rtrs-clt: Write path fast memory registrationdrivers/infiniband/ulp/rtrs/rtrs-clt.c drivers/infiniband/ulp/rtrs/rtrs-clt.h+74 -270 replies
3/5RDMA/rtrs_clt: Alloc less memory with write path fast memory registrationdrivers/infiniband/ulp/rtrs/rtrs-clt.c+2 -30 replies
4/5RDMA/rtrs-clt: Raise MAX_SEGMENTSdrivers/infiniband/ulp/rtrs/rtrs-clt.c+4 -20 replies
5/5rnbd/rtrs-clt: Query and use max_segments from rtrs-clt.drivers/block/rnbd/rnbd-clt.c drivers/block/rnbd/rnbd-clt.h drivers/infiniband/ulp/rtrs/rtrs-clt.c +1 more+13 -170 replies

Reviews trailers per patch

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

PatchMd Haris Iqbal
1/5R-b
2/5
3/5R-b
4/5R-b
5/5R-b

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

Read the v1 thread

Cover letter [PATCH resend for-next 0/5] RTRS enable write path fast memory regitration

Hi Jason, hi Doug, hi Jens

Please consider to include following changes to the next merge window.

This enables fast memory registration for write IO patch, so rtrs can support bigger IO than 116k without splitting. With this in place, both read/write request are more symmetric, and we can also reduce the memory usage.

The patchset is orgnized as:
- patch1 preparation.
- patch2 implement fast memory registration for write patch.
- patch3 reduce memory usage.
- patch4 raise MAX_SGEMENTs
- patch5 rnbd-clt to query and use the max_sgements setting.

As the main change is in RTRS, so it's easier to go through RDMA tree, hence send this patchset to linux-rdma.

This is a rebased on the top latest rdma/wip/jgg-for-next commit 7e78dd816e45 ("RDMA/hns: Clear extended doorbell info before using")

v1: https://lore.kernel.org/linux-rdma/[email protected]/T/#t

Thanks!

Jack Wang (5):
RDMA/rtrs: Introduce head/tail wr
RDMA/rtrs-clt: Write path fast memory registration RDMA/rtrs_clt: Alloc less memory with write path fast memory
registration
RDMA/rtrs-clt: Raise MAX_SEGMENTS
rnbd/rtrs-clt: Query and use max_segments from rtrs-clt.

 drivers/block/rnbd/rnbd-clt.c          |   5 +-
 drivers/block/rnbd/rnbd-clt.h          |   5 +-
 drivers/infiniband/ulp/rtrs/rtrs-clt.c | 143 ++++++++++++++++---------
 drivers/infiniband/ulp/rtrs/rtrs-clt.h |   1 +
 drivers/infiniband/ulp/rtrs/rtrs-pri.h |   3 +-
 drivers/infiniband/ulp/rtrs/rtrs.c     |  28 ++---
 drivers/infiniband/ulp/rtrs/rtrs.h     |   2 +-
 7 files changed, 119 insertions(+), 68 deletions(-)
Signature · 1 line
2.25.1