]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 15 Sep 2017 03:27:50 +0000 (20:27 -0700)
commit974d2783772407b4f56ccae13554dbc25030c735
tree21b0406c9fd68f5edcf28d10ed48df10d8fbbebb
parent99fe6d719e16b8cfc42a5e6362e0c042d5aff21f
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>
(cherry picked from commit 07e8dcbda71ef87e9cbdc42b5bb16a44c1ab839b)

orabug: 25513155
Signed-off-by: Todd Vierling <todd.vierling@oracle.com>
Reviewed-By: Jack Vogel <jack.vogel@oracle.com>
Tested-by: xuan.qi@oracle.com
Signed-off-by: Manjunath Patil <manjunath.b.patil@oracle.com>
fs/nfs/nfs4proc.c
fs/nfs/nfs4session.h