nvme-pci: unquiesce admin queue on shutdown
authorKeith Busch <keith.busch@intel.com>
Tue, 30 Apr 2019 15:33:41 +0000 (09:33 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Jun 2019 09:54:06 +0000 (11:54 +0200)
commit6ce2ad24ae9c3f88692fbbe0d8223133c67b2aac
tree68951f4ce1d7456d7f7696b222db6f22e224dac6
parente9db931283fdebe67fc7372f4dc231f1a535b0b7
nvme-pci: unquiesce admin queue on shutdown

[ Upstream commit c8e9e9b7646ebe1c5066ddc420d7630876277eb4 ]

Just like IO queues, the admin queue also will not be restarted after a
controller shutdown. Unquiesce this queue so that we do not block
request dispatch on a permanently disabled controller.

Reported-by: Yufen Yu <yuyufen@huawei.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/nvme/host/pci.c