NFSv4.1 handle DS stateid errors
authorAndy Adamson <andros@netapp.com>
Wed, 7 Mar 2012 15:49:41 +0000 (10:49 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 7 Mar 2012 15:53:55 +0000 (10:53 -0500)
commit9cb8196839ab4ec87710526e9c43ac7f5dba69d3
tree97ea8225d7ea1b7ba45785f25d042a18263eaf8e
parent4f1abd226d80ef763c50e3930b369b63dffbb312
NFSv4.1 handle DS stateid errors

Handle DS READ and WRITE stateid errors by recovering the stateid on the MDS.

NFS4ERR_OLD_STATEID is ignored as the client always sends a
state sequenceid of zero for DS READ and WRITE stateids.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/delegation.c
fs/nfs/nfs4filelayout.c
fs/nfs/nfs4state.c