diff options
| author | Kinglong Mee <[email protected]> | 2014-08-04 08:18:16 +0000 |
|---|---|---|
| committer | Trond Myklebust <[email protected]> | 2014-08-04 20:51:38 +0000 |
| commit | 5b53dc88b064cb93274e7fb81f8df477287c80df (patch) | |
| tree | 94b3eff48b9e917ec2ce9f7ffa3b2a93b3293372 /fs/nfs/filelayout/filelayoutdev.c | |
| parent | SUNRPC: remove all refcounting of groupinfo from rpcauth_lookupcred (diff) | |
| download | kernel-5b53dc88b064cb93274e7fb81f8df477287c80df.tar.gz kernel-5b53dc88b064cb93274e7fb81f8df477287c80df.zip | |
NFS: Avoid infinite loop when RELEASE_LOCKOWNER getting expired error
Fix Commit 60ea681299 (NFS: Migration support for RELEASE_LOCKOWNER)
If getting expired error, client will enter a infinite loop as,
client server
RELEASE_LOCKOWNER(old clid) ----->
<--- expired error
RENEW(old clid) ----->
<--- expired error
SETCLIENTID ----->
<--- a new clid
SETCLIENTID_CONFIRM (new clid) -->
<--- ok
RELEASE_LOCKOWNER(old clid) ----->
<--- expired error
RENEW(new clid) ----->
<-- ok
RELEASE_LOCKOWNER(old clid) ----->
<--- expired error
RENEW(new clid) ----->
<-- ok
... ...
Signed-off-by: Kinglong Mee <[email protected]>
[Trond: replace call to nfs4_async_handle_error() with
nfs4_schedule_lease_recovery()]
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'fs/nfs/filelayout/filelayoutdev.c')
0 files changed, 0 insertions, 0 deletions
