summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/rpc_pipe.c
diff options
context:
space:
mode:
authorChuck Lever2012-09-14 23:23:23 +0200
committerTrond Myklebust2012-10-02 00:31:51 +0200
commitffe5a83005b0d23575ab109755b4cb5518a5d91f (patch)
treebe0a3c83446995a129f040c3bcb7c94b806b768c /net/sunrpc/rpc_pipe.c
parentNFS: nfs_parsed_mount_options can use unsigned int (diff)
downloadkernel-qcow2-linux-ffe5a83005b0d23575ab109755b4cb5518a5d91f.tar.gz
kernel-qcow2-linux-ffe5a83005b0d23575ab109755b4cb5518a5d91f.tar.xz
kernel-qcow2-linux-ffe5a83005b0d23575ab109755b4cb5518a5d91f.zip
NFS: Slow down state manager after an unhandled error
If the state manager thread is not actually able to fully recover from some situation, it wakes up waiters, who kick off a new state manager thread. Quite often the fresh invocation of the state manager is just as successful. This results in a livelock as the client dumps thousands of NFS requests a second on the network in a vain attempt to recover. Not very friendly. To mitigate this situation, add a delay in the state manager after an unhandled error, so that the client sends just a few requests every second in this case. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/rpc_pipe.c')
0 files changed, 0 insertions, 0 deletions