lkml.org 
[lkml]   [2018]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH 0/4] blk-mq: introduce bio retrieve mechanism
Date
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

\
 
 \ /
  Last update: 2018-09-11 11:48    [W:0.031 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site