Skip to content

restore nvme-rdma polling

Sagi Grimberg linux-block linux-nvme 4 versions – Applied

Status from this message: applied to nvme-4.21.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 1 replyApplied
  2. v36 patches 5 repliesSuperseded
  3. v26 patches 16 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC4 patches16 repliesSuperseded

Changes in v4 from the cover letter

- renamed nvme_rdma_poller_queue to nvme_rdma_poll_queue
- dropped explicit setting of QUEUE_FLAG_POLL in the connect_q
- report nr_maps=3 only if we got opts->nr_poll_queues
- dropped local cq variable from nvme_rdma_poll

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/6block: clear REQ_HIPRI if polling is not supportedblock/blk-core.c+3 -00 replies
2/6block: make request_to_qc_t publicblock/blk-mq.c include/linux/blk-mq.h include/linux/blk_types.h+10 -190 replies
3/6nvme-core: optionally poll sync commandsdrivers/nvme/host/core.c drivers/nvme/host/fabrics.c drivers/nvme/host/nvme.h+39 -110 replies
4/6nvme-fabrics: allow nvmf_connect_io_queue to polldrivers/nvme/host/fabrics.c drivers/nvme/host/fabrics.h drivers/nvme/host/fc.c +3 more+7 -70 replies
5/6nvme-fabrics: allow user to pass in nr_poll_queuesdrivers/nvme/host/fabrics.c drivers/nvme/host/fabrics.h+16 -00 replies
6/6nvme-rdma: implement polling queue mapdrivers/nvme/host/rdma.c+43 -60 replies

Reviews trailers per patch

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

PatchChristoph HellwigJens AxboeSteve Wise
1/6
2/6R-b R-b
3/6R-b
4/6R-b
5/6R-b R-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/6] restore nvme-rdma polling

Add an additional queue mapping for polling queues that will host polling for latency critical I/O.

Allocate the poll queues with IB_POLL_DIRECT context. For nvmf connect we introduce a new blk_execute_rq_polled to poll for the completion and have nvmf_connect_io_queue use it for conneting polling queues.

Changes from v3:
- renamed nvme_rdma_poller_queue to nvme_rdma_poll_queue
- dropped explicit setting of QUEUE_FLAG_POLL in the connect_q
- report nr_maps=3 only if we got opts->nr_poll_queues
- dropped local cq variable from nvme_rdma_poll

Changes from v2:
- move blk_execute_rq_polled to nvme-core
- turn off REQ_HIPRI if polling is not supported (e.g. for stacking devices)
- omit nvme-cli patch - can be taken from v2
- removed blk_tag_to_qc_t and open-coded it in request_to_tag instead

Changes from v1:
- get rid of ib_change_cq_ctx
- poll for nvmf connect over poll queues

Christoph Hellwig (1):
block: clear REQ_HIPRI if polling is not supported

Sagi Grimberg (5):
block: make request_to_qc_t public
nvme-core: optionally poll sync commands
nvme-fabrics: allow nvmf_connect_io_queue to poll
nvme-fabrics: allow user to pass in nr_poll_queues
nvme-rdma: implement polling queue map

 block/blk-core.c            |  3 +++
 block/blk-mq.c              |  8 ------
 drivers/nvme/host/core.c    | 38 ++++++++++++++++++++++++----
 drivers/nvme/host/fabrics.c | 25 ++++++++++++++-----
 drivers/nvme/host/fabrics.h |  5 +++-
 drivers/nvme/host/fc.c      |  2 +-
 drivers/nvme/host/nvme.h    |  2 +-
 drivers/nvme/host/rdma.c    | 49 ++++++++++++++++++++++++++++++++-----
 drivers/nvme/host/tcp.c     |  2 +-
 drivers/nvme/target/loop.c  |  2 +-
 include/linux/blk-mq.h      | 10 ++++++++
 include/linux/blk_types.h   | 11 ---------
 12 files changed, 116 insertions(+), 41 deletions(-)
Signature · 1 line
2.17.1