summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-roccat-lua.c
diff options
context:
space:
mode:
authorSagi Grimberg <sagi@grimberg.me>2020-07-30 13:42:42 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-17 13:47:48 +0200
commit068f73f767a1ed7f27f1eb48343a7bf2d88c1a58 (patch)
tree422af7db234c3ee73e4601b366e79f3fd9844abc /drivers/hid/hid-roccat-lua.c
parentd409ed01923615fe2ede4385a43b80cdc237c549 (diff)
downloadlinux-rt-068f73f767a1ed7f27f1eb48343a7bf2d88c1a58.tar.gz
nvme-rdma: fix reset hang if controller died in the middle of a reset
[ Upstream commit 2362acb6785611eda795bfc12e1ea6b202ecf62c ] 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). Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/hid/hid-roccat-lua.c')
0 files changed, 0 insertions, 0 deletions