diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-09-15 12:25:04 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-09-23 03:25:03 (GMT) |
commit | c514983d8d2260020543a81589a2b8c7d4bdab4e (patch) | |
tree | 6151b2a7bb74c6209f7861d0748b35261e53c15e /fs/nfs/nfs4proc.c | |
parent | 6b30954ebb569fa1b2abdb21f2f4290eec76bf80 (diff) | |
download | linux-fsl-qoriq-c514983d8d2260020543a81589a2b8c7d4bdab4e.tar.xz |
NFSv4: Handle the condition NFS4ERR_FILE_OPEN
Retry a few times before we give up: the error is usually due to ordering
issues with asynchronous RPC calls.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index c218cc4..c49ac3e 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -2891,6 +2891,7 @@ int nfs4_handle_exception(const struct nfs_server *server, int errorcode, struct if (ret == 0) exception->retry = 1; break; + case -NFS4ERR_FILE_OPEN: case -NFS4ERR_GRACE: case -NFS4ERR_DELAY: ret = nfs4_delay(server->client, &exception->timeout); |