• Ming Lei's avatar
    nvme: host: unquiesce queue in nvme_kill_queues() · 443bd90f
    Ming Lei authored
    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: default avatarMing Lei <ming.lei@redhat.com>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    443bd90f
core.c 67.3 KB