]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf3e4d72b06a69a81ce45b1d2ee130197752cea2c
tree01731471a78543c769e73e03148ade6b5cb73518
parent73defd8858e537f0cddfc44ac25e8f0ebead7ab2
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