]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1: Defer bumping the slot sequence number until we free the slot
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 28 Aug 2016 14:28:25 +0000 (10:28 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 28 Aug 2016 18:23:26 +0000 (14:23 -0400)
commiteba4994b6524054a16b586e5481340a3c79ae7ca
tree09746429d46c78b9c217805eb17b3e026063ae9a
parentaa01eda8e3d5460de8d0c1575019ede02daddabe
NFSv4.1: Defer bumping the slot sequence number until we free the slot

For operations like OPEN or LAYOUTGET, which return recallable state
(i.e. delegations and layouts) we want to enable the mechanism for
resolving recall races in RFC5661 Section 2.10.6.3.
To do so, we will want to defer bumping the slot's sequence number until
we have finished processing the RPC results.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4proc.c
fs/nfs/nfs4session.h