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)
commit8ca017c8cee3aa6a37ddf1db7fd04c54536a0ef0
tree68a08c62f5e92857cfdff293fd064b460524756b
parentfe31ce83cbac7adcaa629b59179f502981be5f8b
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