nvme: fix two kinds of IO hang from removing NSs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 21 repliesIn review
- v14 patches 9 repliesSuperseded
Changes in v2 from the cover letter
- don't unfreeze queue which isn't frozen for avoiding warning from percpu_ref_resurrect()
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | blk-mq: add API of blk_mq_unfreeze_queue_forceblock/ block/ block/ +1 more | +29 | 0 replies | |
| 2/4 | nvme: add nvme_unfreeze_force()drivers/ drivers/ | +19 | 0 replies | |
| 3/4 | nvme: unfreeze queues before removing namespacesdrivers/ | +3 | 0 replies | |
| 4/4 | nvme: unquiesce io queues when removing namespacesdrivers/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH V2 0/4] nvme: fix two kinds of IO hang from removing NSs
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(-)
Signature · 1 line
2.40.1