NFSv4.1: Handle NFS4ERR_SEQ_MISORDERED when confirming the lease
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 25 May 2012 19:00:06 +0000 (15:00 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 25 May 2012 20:17:42 +0000 (16:17 -0400)
commit89a217360ef4e96eb83758cb9647f1c42581b097
treea802dbd6fdca71da10b7f5983215f83a4fadeb2b
parentbe0bfed002e0c64a91dacc42a4dab6e883e6bc7e
NFSv4.1: Handle NFS4ERR_SEQ_MISORDERED when confirming the lease

Apparently the patch "NFS: Always use the same SETCLIENTID boot verifier"
is tickling a Linux nfs server bug, and causing a regression: the server
can get into a situation where it keeps replying NFS4ERR_SEQ_MISORDERED
to our CREATE_SESSION request even when we are sending the correct
sequence ID.

Fix this by purging the lease and then retrying.

Reported-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4state.c