nvme-pci: unquiesce dead controller queues
authorKeith Busch <keith.busch@intel.com>
Wed, 6 Jun 2018 14:13:08 +0000 (08:13 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 8 Jun 2018 18:51:11 +0000 (12:51 -0600)
commit1d39e6928cbd0eb737c51545210b5186d5551ba1
tree06b5ba3d349841804782a7d191d1348f1909b430
parentfe76fcfb91a97eccf20cec17ff05a27b8d5b0801
nvme-pci: unquiesce dead controller queues

This patch ensures the nvme namsepace request queues are not quiesced
on a surprise removal. It's possible the queues were previously killed
in a failed reset, so the queues need to be unquiesced to ensure all
requests are flushed to completion.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/pci.c