Skip to content

ublk_drv: uring_cmd queueing improvement and cleanup

Ming Lei linux-block 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4ublk: return flag of UBLK_F_URING_CMD_COMP_IN_TASK in case of moduledrivers/block/ublk_drv.c+3 -01 reply
2/4ublk_drv: comment on ublk_driver entry of Kconfigdrivers/block/Kconfig+6 -01 reply
3/4ublk_drv: avoid to touch io_uring cmd in blk_mq io pathdrivers/block/ublk_drv.c+53 -301 reply
4/4ublk_drv: add ublk_queue_cmd() for cleanupdrivers/block/ublk_drv.c+21 -261 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchZiyangZhang
1/4R-b
2/4R-b
3/4R-b
4/4R-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 0/4] ublk_drv: uring_cmd queueing improvement and cleanup

Hello,

The 1st patch returns correct flag of UBLK_F_URING_CMD_COMP_IN_TASK.

The 2nd patch add help message for deciding to build ublk_drv as module or built-in.

The 3rd patch improves uses of io_uring_cmd_complete_in_task() by only touching io_uring cmd when it is necessary, so we can minimize sharing of io_uring cmd between blk-mq io and ubq daemon context.

The 4th patch is one cleanup.

Ming Lei (4):
ublk: return flag of UBLK_F_URING_CMD_COMP_IN_TASK in case of module
ublk_drv: comment on ublk_driver entry of Kconfig
ublk_drv: avoid to touch io_uring cmd in blk_mq io path
ublk_drv: add ublk_queue_cmd() for cleanup

 drivers/block/Kconfig    |   6 ++
 drivers/block/ublk_drv.c | 115 +++++++++++++++++++++++----------------
 2 files changed, 74 insertions(+), 47 deletions(-)
Signature · 1 line
2.31.1