Skip to content

blk-mq: Support sharing tags across hardware queues

Bart Van Assche linux-block 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3blk-mq: Remove some unused function argumentsblock/blk-mq-tag.c block/blk-mq-tag.h block/blk-mq.c +1 more+8 -110 replies
2/3blk-mq: Move the TAG_ACTIVE and SCHED_RESTART flags from hctx into blk_mq_tagsblock/blk-mq-debugfs.c block/blk-mq-sched.c block/blk-mq-sched.h +3 more+19 -131 reply
3/3block: Add support for sharing tags across hardware queuesblock/blk-mq-debugfs.c block/blk-mq-tag.c block/blk-mq.c +1 more+74 -131 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] blk-mq: Support sharing tags across hardware queues

Hi Jens,

Although the block layer already supports sharing hardware queues across request queues, it does not yet support sharing tags across hardware queues. Some SCSI hardware needs this functionality because this is a good match for how some SCSI HBA's work. This patch does not incur a performance overhead for block drivers that do not share tags across hardware queues.

Note: my original plan was to post this patch series after the merge window has closed. I'm posting this now to allow comparison with alternative approaches.

Thanks,

Bart.

Bart Van Assche (2):
blk-mq: Move the TAG_ACTIVE and SCHED_RESTART flags from hctx into
blk_mq_tags
block: Add support for sharing tags across hardware queues

John Garry (1):
blk-mq: Remove some unused function arguments

 block/blk-mq-debugfs.c | 42 ++++++++++++++++++++++++++++++++++++++----
 block/blk-mq-sched.c   |  8 ++++----
 block/blk-mq-sched.h   |  2 +-
 block/blk-mq-tag.c     | 19 +++++++++++--------
 block/blk-mq-tag.h     | 13 +++++++++++--
 block/blk-mq.c         | 38 +++++++++++++++++++++++++-------------
 block/blk-mq.h         |  2 +-
 include/linux/blk-mq.h | 10 ++++++----
 8 files changed, 97 insertions(+), 37 deletions(-)