summaryrefslogtreecommitdiffstats
path: root/fs/qnx6
diff options
context:
space:
mode:
authorLong Li <longli@microsoft.com>2018-03-31 00:16:35 +0200
committerSteve French <stfrench@microsoft.com>2018-04-02 03:24:40 +0200
commit48f238a79f668f8ff013024d83010de551833d7f (patch)
tree94ad861735b92bf1afca2979926d7eab30598387 /fs/qnx6
parentDon't log confusing message on reconnect by default (diff)
downloadlinux-48f238a79f668f8ff013024d83010de551833d7f.tar.xz
linux-48f238a79f668f8ff013024d83010de551833d7f.zip
cifs: smbd: avoid reconnect lockup
During transport reconnect, other processes may have registered memory and blocked on transport. This creates a deadlock situation because the transport resources can't be freed, and reconnect is blocked. Fix this by returning to upper layer on timeout. Before returning, transport status is set to reconnecting so other processes will release memory registration resources. Upper layer will retry the reconnect. This is not in fast I/O path so setting the timeout to 5 seconds. Signed-off-by: Long Li <longli@microsoft.com> Signed-off-by: Steve French <smfrench@gmail.com> Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com> CC: Stable <stable@vger.kernel.org>
Diffstat (limited to 'fs/qnx6')
0 files changed, 0 insertions, 0 deletions