linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] blk-mq: introduce bio retrieve mechanism
@ 2018-09-11  9:48 Jianchao Wang
  2018-09-11  9:48 ` [PATCH 1/4] " Jianchao Wang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jianchao Wang @ 2018-09-11  9:48 UTC (permalink / raw)
  To: axboe, ming.lei, bart.vanassche, sagi, keith.busch, hch
  Cc: linux-block, linux-kernel, linux-nvme

Hi all

This patchset introduces a new bio retrieve mechanism. It  will
flush all the requests on queue, take the bios down from them and
end them, then the bios will be submied again later. Then we could
avoid:
 - fail requests on the dying hw queues
 - depend on storage device to drain the queue
This 1st case could be fatal for filesystem and the 2nd case could
cause IO hang in nvme_reset_work.

The 1st patch introduces this feature.
The 2nd patch apply it in the updating nr_hw_queues
The 3rd patch unquiesces the queues after updating nr_hw_queues
The 4th patch discards the cq_vector checking in nvme_queue_rq

Jianchao Wang(4)
blk-mq: introduce bio retrieve mechanism
blk-mq: retrieve bios before update nr_hw_queues
nvme-pci: unquiesce queues after update nr_hw_queues
nvme-pci: discard the cq_vector checking in nvme_queue_rq


 block/blk-mq-sched.c    | 78 +++++++++++++++++++++++++++++++++++++++++++++++++
 block/blk-mq.c          | 50 ++++++++++++++++++++++++++++++-
 drivers/nvme/host/pci.c | 13 +++------
 include/linux/blk-mq.h  |  4 +++
 include/linux/blkdev.h  |  2 ++
 5 files changed, 137 insertions(+), 10 deletions(-)

Thanks
Jianchao

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

end of thread, other threads:[~2018-09-11  9:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-11  9:48 [RFC PATCH 0/4] blk-mq: introduce bio retrieve mechanism Jianchao Wang
2018-09-11  9:48 ` [PATCH 1/4] " Jianchao Wang
2018-09-11  9:48 ` [PATCH 2/4] blk-mq: retrieve bios before update nr_hw_queues Jianchao Wang
2018-09-11  9:48 ` [PATCH 3/4] nvme-pci: unquiesce queues after " Jianchao Wang
2018-09-11  9:48 ` [PATCH 4/4] nvme-pci: discard the cq_vector checking in nvme_queue_rq Jianchao Wang

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