Skip to content

blk-mq: improve dispatch lock & quiesce implementation

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/4blk-mq: remove hctx_lock and hctx_unlockblock/blk-mq.c block/blk-mq.h+26 -473 replies
2/4blk-mq: move srcu from blk_mq_hw_ctx to request_queueblock/blk-core.c block/blk-mq-sysfs.c block/blk-mq.c +6 more+53 -490 replies
3/4blk-mq: pass request queue to blk_mq_run_dispatch_opsblock/blk-mq.c block/blk-mq.h+9 -80 replies
4/4blk-mq: run dispatch lock once in case of issuing from listblock/blk-mq-sched.c block/blk-mq.c+8 -90 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchMarek Szyprowski
1/4T-b
2/4
3/4
4/4

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] blk-mq: improve dispatch lock & quiesce implementation

Hello,

The 1st patch replaces hctx_lock/hctx_unlock with blk_mq_run_dispatch_ops(), so that the fast dispatch code path gets optimized a bit.

The 2nd patch moves srcu from hctx into request queue.

The last two patches call blk_mq_run_dispatch_ops once in case of issuing directly from list.

Ming Lei (4):
blk-mq: remove hctx_lock and hctx_unlock
blk-mq: move srcu from blk_mq_hw_ctx to request_queue
blk-mq: pass request queue to blk_mq_run_dispatch_ops
blk-mq: run dispatch lock once in case of issuing from list

 block/blk-core.c       |  27 +++++++++--
 block/blk-mq-sched.c   |   3 +-
 block/blk-mq-sysfs.c   |   2 -
 block/blk-mq.c         | 105 +++++++++--------------------------------
 block/blk-mq.h         |  16 +++++++
 block/blk-sysfs.c      |   3 +-
 block/blk.h            |  10 +++-
 block/genhd.c          |   2 +-
 include/linux/blk-mq.h |   8 ----
 include/linux/blkdev.h |   9 ++++
 10 files changed, 84 insertions(+), 101 deletions(-)
Signature · 1 line
2.31.1