diff options
author | Keith Busch <[email protected]> | 2017-02-10 18:15:49 -0500 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2017-02-22 13:34:00 -0700 |
commit | 6db28eda266052f86a6b402422de61eeb7d2e351 (patch) | |
tree | 170deac146c635873dcbee3e77ccd810830002f8 /lib/netdev-notifier-error-inject.c | |
parent | c5552fde102fcc3f2cf9e502b8ac90e3500d8fdf (diff) |
nvme/pci: Disable on removal when disconnected
If the device is not present, the driver should disable the queues
immediately. Prior to this, the driver was relying on the watchdog timer
to kill the queues if requests were outstanding to the device, and that
just delays removal up to one second.
Signed-off-by: Keith Busch <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions