diff options
author | Keith Busch <[email protected]> | 2017-06-27 17:44:05 -0600 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2017-06-27 17:44:05 -0600 |
commit | ebef7368571d88f0f80b817e6898075c62265b4e (patch) | |
tree | d38abb27b86a8f58077047372cf531bdfd7ddb2b /lib/netdev-notifier-error-inject.c | |
parent | 3c2bfbaadff6e0c257bb6b16c9c97f43618b13dc (diff) |
nvme/pci: Fix stuck nvme reset
The controller state is set to resetting prior to disabling the
controller, so this patch accounts for that state when deciding if it
needs to freeze the queues. Without this, an 'nvme reset /dev/nvme0'
blocks forever because the queues were never frozen.
Fixes: 82b057caefaf ("nvme-pci: fix multiple ctrl removal scheduling")
Signed-off-by: Keith Busch <[email protected]>
Reviewed-by: Christoph Hellwig <[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