]> git.karo-electronics.de Git - mv-sheeva.git/commit
nfs41: RECLAIM_COMPLETE functionality
authorRicardo Labiaga <Ricardo.Labiaga@netapp.com>
Sat, 5 Dec 2009 21:08:41 +0000 (16:08 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 5 Dec 2009 21:08:41 +0000 (16:08 -0500)
commitfce5c838e13392cc88a1330d1471fe6419e02ed7
tree9ba2d8a62d6ec61e68d5a2808ca50eb917acbea1
parent180197536b15d5862b389ce90b46ec8d004056f6
nfs41: RECLAIM_COMPLETE functionality

Implements RECLAIM_COMPLETE as an asynchronous RPC.
NFS4ERR_DELAY is retried, NFS4ERR_DEADSESSION invokes the error handling
but does not result in a retry, since we don't want to have a lingering
RECLAIM_COMPLETE call sent in the middle of a possible new state recovery
cycle.  If a session reset occurs, a new wave of reclaim operations will
follow, containing their own RECLAIM_COMPLETE call.  We don't want a
retry to get on the way of recovery by incorrectly indicating to the
server that we're done reclaiming state.

A subsequent patch invokes the functionality.

Signed-off-by: Ricardo Labiaga <Ricardo.Labiaga@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4_fs.h
fs/nfs/nfs4proc.c
fs/nfs/nfs4state.c