Skip to content

nvme: optimize passthrough IOPOLL completion for local ring context

Ming Lei io-uring linux-block linux-nvme 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 6 repliesApplied
  2. v11 patch 2 repliesSuperseded

Changes in v2 from the cover letter

	- pass `struct io_comp_batch *` to ->end_io() directly via
	  blk_mq_end_request_batch().

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2block: pass io_comp_batch to rq_end_io_fn callbackblock/blk-flush.c block/blk-mq.c drivers/md/dm-rq.c +9 more+39 -210 replies
2/2nvme/io_uring: optimize IOPOLL completions for local ring contextdrivers/nvme/host/ioctl.c include/linux/blkdev.h io_uring/rw.c+20 -70 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKanchan JoshiKeith Busch
SeriesR-b R-b
1/2
2/2

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

Read the v2 thread

Cover letter [PATCH V2 0/2] nvme: optimize passthrough IOPOLL completion for local ring context

Hello,

The 1st patch passes struct io_comp_batch * to rq_end_io_fn callback.

The 2nd patch completes IOPOLL uring_cmd inline in case of local ring context, and improves IOPS by ~10%.

V2:

	- pass `struct io_comp_batch *` to ->end_io() directly via
	  blk_mq_end_request_batch().

Ming Lei (2):
block: pass io_comp_batch to rq_end_io_fn callback nvme/io_uring: optimize IOPOLL completions for local ring context

 block/blk-flush.c                  |  6 ++++--
 block/blk-mq.c                     |  9 +++++----
 drivers/md/dm-rq.c                 |  3 ++-
 drivers/nvme/host/core.c           |  3 ++-
 drivers/nvme/host/ioctl.c          | 23 +++++++++++++++--------
 drivers/nvme/host/pci.c            | 11 +++++++----
 drivers/nvme/target/passthru.c     |  3 ++-
 drivers/scsi/scsi_error.c          |  3 ++-
 drivers/scsi/sg.c                  |  6 ++++--
 drivers/scsi/st.c                  |  3 ++-
 drivers/target/target_core_pscsi.c |  6 ++++--
 include/linux/blk-mq.h             |  4 +++-
 include/linux/blkdev.h             |  1 +
 io_uring/rw.c                      |  6 ++++++
 14 files changed, 59 insertions(+), 28 deletions(-)
Signature · 1 line
2.47.0