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

Ming Lei ming.lei at redhat.com
Mon May 22 08:05:02 PDT 2017


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

-- 
2.9.4




More information about the Linux-nvme mailing list