Skip to content

Enable IOU_F_TWQ_LAZY_WAKE for passthrough

Pavel Begunkov io-uring linux-block linux-nvme 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 16 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2io_uring/cmd: add cmd lazy tw wake helperinclude/linux/io_uring.h io_uring/uring_cmd.c+28 -65 replies
2/2nvme: optimise io_uring passthrough completiondrivers/nvme/host/ioctl.c+2 -28 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH for-next 0/2] Enable IOU_F_TWQ_LAZY_WAKE for passthrough

Let cmds to use IOU_F_TWQ_LAZY_WAKE and enable it for nvme passthrough.

The result should be same as in test to the original IOU_F_TWQ_LAZY_WAKE [1] patchset, but for a quick test I took fio/t/io_uring with 4 threads each reading their own drive and all pinned to the same CPU to make it CPU bound and got +10% throughput improvement.

[1] https://lore.kernel.org/all/[email protected]/

Pavel Begunkov (2):
io_uring/cmd: add cmd lazy tw wake helper
nvme: optimise io_uring passthrough completion

 drivers/nvme/host/ioctl.c |  4 ++--
 include/linux/io_uring.h  | 18 ++++++++++++++++--
 io_uring/uring_cmd.c      | 16 ++++++++++++----
 3 files changed, 30 insertions(+), 8 deletions(-)

base-commit: 9a48d604672220545d209e9996c2a1edbb5637f6

Signature · 1 line
2.40.0