-
- Downloads
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>
Showing
- fs/nfs/delegation.c 96 additions, 1 deletionfs/nfs/delegation.c
- fs/nfs/delegation.h 4 additions, 0 deletionsfs/nfs/delegation.h
- fs/nfs/nfs4_fs.h 3 additions, 0 deletionsfs/nfs/nfs4_fs.h
- fs/nfs/nfs4proc.c 10 additions, 0 deletionsfs/nfs/nfs4proc.c
- fs/nfs/nfs4state.c 9 additions, 8 deletionsfs/nfs/nfs4state.c
Loading
Please register or sign in to comment