nvme: host: unquiesce queue in nvme_kill_queues()
authorMing Lei <ming.lei@redhat.com>
Mon, 19 Jun 2017 02:21:08 +0000 (10:21 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 19 Jun 2017 02:52:58 +0000 (20:52 -0600)
commit443bd90f2cca9dec3db9ef9460a9c2a6f095f789
treef4c5e7ad4bc15b14eeee66211edefb7b8c62f1e1
parent641a9ed60f3620936921a58fb21d9f3aa891f3a4
nvme: host: unquiesce queue in nvme_kill_queues()

When nvme_kill_queues() is run, queues may be in
quiesced state, so we forcibly unquiesce queues to avoid
blocking dispatch, and I/O hang can be avoided in
remove path.

Peviously we use blk_mq_start_stopped_hw_queues() as
counterpart of blk_mq_quiesce_queue(), now we have
introduced blk_mq_unquiesce_queue(), so use it explicitly.

Cc: linux-nvme@lists.infradead.org
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c