summaryrefslogtreecommitdiff
path: root/fs/isofs/rock.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2019-03-04 22:19:31 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-23 22:11:41 +0300
commitaed54941cf9e67876456513b490fdf72e0367aed (patch)
tree8fe2633431ed6a857defe0b2b2cdec1cd87837a3 /fs/isofs/rock.c
parent1b2f5d715bbc21c548c834647084c4ad7952696f (diff)
downloadlinux-aed54941cf9e67876456513b490fdf72e0367aed.tar.xz
SUNRPC: Prevent thundering herd when the socket is not connected
commit ed7dc973bd91da234d93aff6d033a5206a6c9885 upstream. If the socket is not connected, then we want to initiate a reconnect rather that trying to transmit requests. If there is a large number of requests queued and waiting for the lock in call_transmit(), then it can take a while for one of the to loop back and retake the lock in call_connect. Fixes: 89f90fe1ad8b ("SUNRPC: Allow calls to xprt_transmit() to drain...") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/isofs/rock.c')
0 files changed, 0 insertions, 0 deletions