Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175952
b: refs/heads/master
c: 44ed355
h: refs/heads/master
v: v3
  • Loading branch information
NeilBrown authored and Trond Myklebust committed Dec 4, 2009
1 parent 5e8016a commit 31f71ed
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 24e93025ee434a58d35e5abb283c5bcc9a13e477
refs/heads/master: 44ed3556bad809797f7b06a4a88918fd8a23d6fe
7 changes: 7 additions & 0 deletions trunk/fs/nfs/nfs4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,13 @@ static int nfs4_handle_exception(const struct nfs_server *server, int errorcode,
/* FALLTHROUGH */
#endif /* !defined(CONFIG_NFS_V4_1) */
case -NFS4ERR_FILE_OPEN:
if (exception->timeout > HZ) {
/* We have retried a decent amount, time to
* fail
*/
ret = -EBUSY;
break;
}
case -NFS4ERR_GRACE:
case -NFS4ERR_DELAY:
ret = nfs4_delay(server->client, &exception->timeout);
Expand Down

0 comments on commit 31f71ed

Please sign in to comment.