aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wan/lapbether.c
diff options
context:
space:
mode:
authorSagi Grimberg <sagi@grimberg.me>2020-07-30 13:25:34 -0700
committerSagi Grimberg <sagi@grimberg.me>2020-08-28 16:43:57 -0700
commite5c01f4f7f623e768e868bcc08d8e7ceb03b75d0 (patch)
treebec530ce77677ccacdb9d2ac6fae7942ab25ebbc /drivers/net/wan/lapbether.c
parent236187c4ed195161dfa4237c7beffbba0c5ae45b (diff)
nvme-tcp: fix reset hang if controller died in the middle of a reset
If the controller becomes unresponsive in the middle of a reset, we will hang because we are waiting for the freeze to complete, but that cannot happen since we have commands that are inflight holding the q_usage_counter, and we can't blindly fail requests that times out. So give a timeout and if we cannot wait for queue freeze before unfreezing, fail and have the error handling take care how to proceed (either schedule a reconnect of remove the controller). Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Diffstat (limited to 'drivers/net/wan/lapbether.c')
0 files changed, 0 insertions, 0 deletions