NFSv4: Allow the state manager to mark an open_owner as being recovered
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 7 Feb 2013 19:41:11 +0000 (14:41 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 11 Feb 2013 20:33:11 +0000 (15:33 -0500)
commitc137afabe330f64eddcd4dd281258807e27fd430
tree01731471a78543c769e73e03148ade6b5cb73518
parentc5f5e9c5d2e9178fb0bfe4f44f0afcc8ad6488ef
NFSv4: Allow the state manager to mark an open_owner as being recovered

This patch adds a seqcount_t lock for use by the state manager to
signal that an open owner has been recovered. This mechanism will be
used by the delegation, open and byte range lock code in order to
figure out if they need to replay requests due to collisions with
lock recovery.

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