NVMe: Skip orderly shutdown on failed devices
authorKeith Busch <keith.busch@intel.com>
Wed, 25 Jun 2014 17:18:12 +0000 (11:18 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 4 Nov 2014 20:17:08 +0000 (13:17 -0700)
commit7c1b24503873e6cfc1d31f2e55c35358fd438351
tree662901bd7f64313b2622dea1b8ea08c7818af94b
parenta67394790a9c52657273212647e350e36a292183
NVMe: Skip orderly shutdown on failed devices

Rather than skipping shutdown only for devices that have been removed,
skip the orderly shutdown on failed devices to avoid the long timeout
handling that inevitably happens when deleting queues on such a device.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nvme-core.c