Commit 443bd90
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>1 parent 641a9ed commit 443bd90
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2581 | 2581 | | |
2582 | 2582 | | |
2583 | 2583 | | |
| 2584 | + | |
| 2585 | + | |
| 2586 | + | |
2584 | 2587 | | |
2585 | 2588 | | |
2586 | 2589 | | |
| |||
2594 | 2597 | | |
2595 | 2598 | | |
2596 | 2599 | | |
| 2600 | + | |
| 2601 | + | |
| 2602 | + | |
2597 | 2603 | | |
2598 | 2604 | | |
2599 | 2605 | | |
| |||
0 commit comments