linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] blk-mq: queue mapping fix & improvement
@ 2018-12-16  2:25 Ming Lei
  2018-12-16  2:25 ` [PATCH 1/4] nvme-pci: correct mapping for poll queue(s) Ming Lei
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: Ming Lei @ 2018-12-16  2:25 UTC (permalink / raw)
  To: Jens Axboe
  Cc: linux-block, Ming Lei, Jeff Moyer, Mike Snitzer,
	Christoph Hellwig

Hi,

The 1st patch fixes queue mapping when there isn't poll/write queues,
and turns out IO hang can be caused by this bad queue mapping.

The 2nd patch fixes allocation for queue mapping table.

The 3rd patch improves blk_mq_map_swqueue() a bit, and makes it
more robust for dealing with shared queue mapping.

The 4th patch exports hctx->type in debugfs, so that we can write
debugfs based test for verifying if queue mapping is valid.

Ming Lei (4):
  nvme-pci: correct mapping for poll queue(s)
  blk-mq: fix allocation for queue mapping table
  blk-mq: deal with shared queue mapping reliably
  blk-mq-debugfs: export hctx->type

 block/blk-mq-debugfs.c  |  9 +++++++++
 block/blk-mq.c          |  5 ++++-
 drivers/nvme/host/pci.c | 36 ++++++++++++++++++++----------------
 3 files changed, 33 insertions(+), 17 deletions(-)

Cc: Jeff Moyer <jmoyer@redhat.com>
Cc: Mike Snitzer <snitzer@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>

-- 
2.9.5


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

end of thread, other threads:[~2018-12-17  8:38 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-16  2:25 [PATCH 0/4] blk-mq: queue mapping fix & improvement Ming Lei
2018-12-16  2:25 ` [PATCH 1/4] nvme-pci: correct mapping for poll queue(s) Ming Lei
2018-12-16 16:11   ` Christoph Hellwig
2018-12-17  1:00     ` Ming Lei
2018-12-17  7:06       ` Christoph Hellwig
2018-12-17  7:22         ` Ming Lei
2018-12-16  2:25 ` [PATCH 2/4] blk-mq: fix allocation for queue mapping table Ming Lei
2018-12-16 16:15   ` Christoph Hellwig
2018-12-16  2:25 ` [PATCH 3/4] blk-mq: deal with shared queue mapping reliably Ming Lei
2018-12-16 16:16   ` Christoph Hellwig
2018-12-16 18:39     ` Mike Snitzer
2018-12-16 19:12       ` Jens Axboe
2018-12-17  1:04         ` Ming Lei
2018-12-17  7:44           ` Christoph Hellwig
2018-12-17  8:38             ` Ming Lei
2018-12-17  1:27     ` Ming Lei
2018-12-16  2:25 ` [PATCH 4/4] blk-mq-debugfs: export hctx->type Ming Lei
2018-12-16 16:17   ` Christoph Hellwig
2018-12-16 19:12     ` Jens Axboe
2018-12-17  1:06     ` Ming Lei

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