summaryrefslogtreecommitdiff
path: root/net/batman-adv/originator.c
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2019-05-14 23:27:53 +0300
committerKeith Busch <keith.busch@intel.com>2019-05-17 20:04:04 +0300
commit2036f7263d70e67d70a67899a468588cb7356bc9 (patch)
tree238af298a51abd7391b47e49662a77ae68b1f458 /net/batman-adv/originator.c
parent39a9dd81f864aa20be896bb34b4bbc2501a2453d (diff)
downloadlinux-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/batman-adv/originator.c')
0 files changed, 0 insertions, 0 deletions