]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Ensure that we recover from the OPEN + OPEN_CONFIRM BAD_STATEID race
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 18 Oct 2005 21:20:21 +0000 (14:20 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 18 Oct 2005 21:20:21 +0000 (14:20 -0700)
commit4116967eb0799bd3f01b79f9bd0e962ada7fe8df
treebe34cc170cce1e103baec1976f7903528eb4ff4d
parent1a119e4ce21b6775a37d2796f1a76948c270a09b
NFSv4: Ensure that we recover from the OPEN + OPEN_CONFIRM BAD_STATEID race

 If the server is in the unconfirmed OPEN state for a given open owner
 and receives a second OPEN for the same open owner, it will cancel the
 state of the first request and set up an OPEN_CONFIRM for the second.

 This can cause a race that is discussed in rfc3530 on page 181.

 The following patch allows the client to recover by retrying the
 original open request.

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