aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorTrond Myklebust <[email protected]>2019-03-04 14:19:31 -0500
committerTrond Myklebust <[email protected]>2019-03-07 16:45:19 -0500
commited7dc973bd91da234d93aff6d033a5206a6c9885 (patch)
treee5927d8cbd2999455e0331e5b9ba57b36b9d1ad8 /lib/test_overflow.c
parent0d1bf3407c4ae887a464d136aaa5e9ef609834f0 (diff)
SUNRPC: Prevent thundering herd when the socket is not connected
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 <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions