]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: don't mark all open state for recovery when handling recallable state revoked...
authorScott Mayhew <smayhew@redhat.com>
Mon, 6 May 2019 15:59:05 +0000 (11:59 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 9 May 2019 20:26:57 +0000 (16:26 -0400)
commita3f5c5eaca442504694278fc944c73ccd32f3758
tree68a08c62f5e92857cfdff293fd064b460524756b
parent3408a889417a27db6ab03c1bd6e22cf97c9169e6
NFSv4: don't mark all open state for recovery when handling recallable state revoked flag

Only delegations and layouts can be recalled, so it shouldn't be
necessary to recover all opens when handling the status bit
SEQ4_STATUS_RECALLABLE_STATE_REVOKED.  We'll still wind up calling
nfs41_open_expired() when a TEST_STATEID returns NFS4ERR_DELEG_REVOKED.

Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Reviewed-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/delegation.c
fs/nfs/delegation.h
fs/nfs/nfs4state.c