Skip to content

nvme: fix hang in path of removing disk

Ming Lei linux-block linux-nvme stable 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyIn review
  2. v23 patches 13 repliesSuperseded
  3. v12 patches 15 repliesSuperseded

Changes in v3 from the cover letter

- adjust comments about 'Forcibly start all queues' as suggested by Christoph

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nvme: use blk_mq_start_hw_queues() in nvme_kill_queues()drivers/nvme/host/core.c+7 -10 replies
2/3nvme: avoid to use blk_mq_abort_requeue_list()drivers/nvme/host/core.c+3 -20 replies
3/3blk-mq: remove blk_mq_abort_requeue_list()block/blk-mq.c include/linux/blk-mq.h+0 -200 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchKeith BuschChristoph HellwigJohannes Thumshirn
1/3R-b R-b R-b
2/3R-b R-b R-b
3/3R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/3] nvme: fix hang in path of removing disk

The first two patches fixes hang during removing disk.

The 3rd patch removes blk_mq_abort_requeue_list() since no one uses it any more.

V3:
- adjust comments about 'Forcibly start all queues' as suggested by Christoph

V2:
- figure out one big issue is that we should start queues unconditionally when killing queues
- fix requeue races in another way

Ming Lei (3):
nvme: use blk_mq_start_hw_queues() in nvme_kill_queues()
nvme: avoid to use blk_mq_abort_requeue_list()
blk-mq: remove blk_mq_abort_requeue_list()

 block/blk-mq.c           | 19 -------------------
 drivers/nvme/host/core.c | 13 ++++++++++---
 include/linux/blk-mq.h   |  1 -
 3 files changed, 10 insertions(+), 23 deletions(-)
Signature · 1 line
2.9.4