summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2016-09-22 19:38:59 +0200
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2016-09-27 20:33:44 +0200
commit45870d6909d5a1f702d2a3781d8fc831301d13c8 (patch)
tree9343039cc514fcd1b462a0d633292ffb82256c06 /usr
parentNFSv4.x: Allow callers of nfs_remove_bad_delegation() to specify a stateid (diff)
downloadlinux-45870d6909d5a1f702d2a3781d8fc831301d13c8.tar.xz
linux-45870d6909d5a1f702d2a3781d8fc831301d13c8.zip
NFSv4.1: Test delegation stateids when server declares "some state revoked"
According to RFC5661, if any of the SEQUENCE status bits SEQ4_STATUS_EXPIRED_ALL_STATE_REVOKED, SEQ4_STATUS_EXPIRED_SOME_STATE_REVOKED, SEQ4_STATUS_ADMIN_STATE_REVOKED, or SEQ4_STATUS_RECALLABLE_STATE_REVOKED are set, then we need to use TEST_STATEID to figure out which stateids have been revoked, so we can acknowledge the loss of state using FREE_STATEID. While we already do this for open and lock state, we have not been doing so for all the delegations. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Tested-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions