diff options
author | Keith Busch <keith.busch@intel.com> | 2016-02-11 23:05:43 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-02-12 18:10:16 +0300 |
commit | ff23a2a15a2117245b4599c1352343c8b8fb4c43 (patch) | |
tree | 9b45c0213b12cd779ab94d3e486283a401221644 /block | |
parent | ae1fba20015bca7401db2422fe18c9c049184163 (diff) | |
download | linux-ff23a2a15a2117245b4599c1352343c8b8fb4c43.tar.xz |
NVMe: Poll device while still active during remove
A device failure or link down wouldn't have been detected during namespace
removal. This patch keeps the device in the list for polling so that the
thread may see such failure and initiate a reset. The device is removed
from the list after disable, so we can safely flush the reset work as
it can't be requeued when disable completes.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions