]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-pci: shutdown on timeout during deletion
authorKeith Busch <keith.busch@intel.com>
Tue, 30 Apr 2019 15:33:40 +0000 (09:33 -0600)
committerChristoph Hellwig <hch@lst.de>
Wed, 1 May 2019 13:17:18 +0000 (09:17 -0400)
commit1a72afed94b178e306040227295d5a760f8372a1
treefebf02bebe1150d613f820d85c321ddb60c31b1b
parent2a1ab7e85d1fbe782b9e06d2ede6a5b8a391308b
nvme-pci: shutdown on timeout during deletion

We do not restart a controller in a deleting state for timeout errors.
When in this state, unblock potential request dispatchers with failed
completions by shutting down the controller on timeout detection.

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