linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] blk-mq: Support sharing tags across hardware queues
@ 2019-11-26 17:56 Bart Van Assche
  2019-11-26 17:56 ` [PATCH 1/3] blk-mq: Remove some unused function arguments Bart Van Assche
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Bart Van Assche @ 2019-11-26 17:56 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block, Christoph Hellwig, Bart Van Assche

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(-)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-11-27  9:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-26 17:56 [PATCH 0/3] blk-mq: Support sharing tags across hardware queues Bart Van Assche
2019-11-26 17:56 ` [PATCH 1/3] blk-mq: Remove some unused function arguments Bart Van Assche
2019-11-26 17:56 ` [PATCH 2/3] blk-mq: Move the TAG_ACTIVE and SCHED_RESTART flags from hctx into blk_mq_tags Bart Van Assche
2019-11-27  0:43   ` Ming Lei
2019-11-26 17:56 ` [PATCH 3/3] block: Add support for sharing tags across hardware queues Bart Van Assche
2019-11-27  9:51   ` John Garry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).