[PATCH V2 0/4] nvme: fix two kinds of IO hang from removing NSs
Ming Lei
ming.lei at redhat.com
Mon Jun 19 18:33:45 PDT 2023
Hello,
The 1st three patch fixes io hang when controller removal interrupts error
recovery, then queue is left as frozen.
The 4th patch fixes io hang when controller is left as unquiesce.
V2:
- don't unfreeze queue which isn't frozen for avoiding warning from
percpu_ref_resurrect()
Ming Lei (4):
blk-mq: add API of blk_mq_unfreeze_queue_force
nvme: add nvme_unfreeze_force()
nvme: unfreeze queues before removing namespaces
nvme: unquiesce io queues when removing namespaces
block/blk-mq.c | 28 +++++++++++++++++++++++++---
block/blk.h | 3 ++-
block/genhd.c | 2 +-
drivers/nvme/host/core.c | 34 ++++++++++++++++++++++++++++------
drivers/nvme/host/nvme.h | 1 +
include/linux/blk-mq.h | 1 +
6 files changed, 58 insertions(+), 11 deletions(-)
--
2.40.1
More information about the Linux-nvme
mailing list