Skip to content

Commit d41cbfc

Browse files
bcodding-rhamschuma-ntap
authored andcommitted
NFSv4.1: Handle NFS4ERR_OLD_STATEID in nfs4_reclaim_open_state
Now that we're doing TEST_STATEID in nfs4_reclaim_open_state(), we can have a NFS4ERR_OLD_STATEID returned from nfs41_open_expired() . Instead of marking state recovery as failed, mark the state for recovery again. Signed-off-by: Benjamin Coddington <bcodding@redhat.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
1 parent 5cc7861 commit d41cbfc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

fs/nfs/nfs4state.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1547,6 +1547,7 @@ static int nfs4_reclaim_open_state(struct nfs4_state_owner *sp, const struct nfs
15471547
ssleep(1);
15481548
case -NFS4ERR_ADMIN_REVOKED:
15491549
case -NFS4ERR_STALE_STATEID:
1550+
case -NFS4ERR_OLD_STATEID:
15501551
case -NFS4ERR_BAD_STATEID:
15511552
case -NFS4ERR_RECLAIM_BAD:
15521553
case -NFS4ERR_RECLAIM_CONFLICT:

0 commit comments

Comments
 (0)