diff options
author | Keith Busch <keith.busch@intel.com> | 2019-05-14 23:27:53 +0300 |
---|---|---|
committer | Keith Busch <keith.busch@intel.com> | 2019-05-17 20:04:04 +0300 |
commit | 2036f7263d70e67d70a67899a468588cb7356bc9 (patch) | |
tree | 238af298a51abd7391b47e49662a77ae68b1f458 /net/ieee802154/rdev-ops.h | |
parent | 39a9dd81f864aa20be896bb34b4bbc2501a2453d (diff) | |
download | linux-2036f7263d70e67d70a67899a468588cb7356bc9.tar.xz |
nvme-pci: Unblock reset_work on IO failure
The reset_work waits for queued IO to complete before setting the
controller to live. If any of these times out and requeues, we won't be
able to restart the controller because the reset_work is already running.
Flush all entered requests to a failed completion if a timeout occurs
in the connecting state, and ensure the controller can't transition to
the live state after we've unblocked it from waiting for completions.
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Diffstat (limited to 'net/ieee802154/rdev-ops.h')
0 files changed, 0 insertions, 0 deletions