aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/pnfs.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2019-07-22 09:54:29 +0100
committerTrond Myklebust <trond.myklebust@hammerspace.com>2019-08-04 22:35:40 -0400
commitc34fae003c79570b6c930b425fea3f0b7b1e7056 (patch)
tree1ff4f0eb398bfa7d4eb2553651f31ce8981f45d9 /fs/nfs/pnfs.c
parentNFSv4: Print an error in the syslog when state is marked as irrecoverable (diff)
downloadlinux-dev-c34fae003c79570b6c930b425fea3f0b7b1e7056.tar.xz
linux-dev-c34fae003c79570b6c930b425fea3f0b7b1e7056.zip
NFSv4: When recovering state fails with EAGAIN, retry the same recovery
If the server returns with EAGAIN when we're trying to recover from a server reboot, we currently delay for 1 second, but then mark the stateid as needing recovery after the grace period has expired. Instead, we should just retry the same recovery process immediately after the 1 second delay. Break out of the loop after 10 retries. Fixes: 35a61606a612 ("NFS: Reduce indentation of the switch statement...") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/pnfs.c')
0 files changed, 0 insertions, 0 deletions