diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-09-22 13:39:02 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2016-09-27 14:34:01 -0400 |
commit | f7a62adad01cdb2b64c5a17cdd440736b99a5829 (patch) | |
tree | 6e42173fadeab24018c85aaa6c1ffc13973c140a /kernel/bounds.c | |
parent | 63d63cbf5e03f47c99baa0a1ba1c345fe426e3bd (diff) |
NFSv4.1: Allow revoked stateids to skip the call to TEST_STATEID
In some cases (e.g. when the SEQ4_STATUS_EXPIRED_ALL_STATE_REVOKED sequence
flag is set) we may already know that the stateid was revoked and that the
only valid operation we can call is FREE_STATEID. In those cases, allow
the stateid to carry the information in the type field, so that we skip
the redundant call to TEST_STATEID.
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 'kernel/bounds.c')
0 files changed, 0 insertions, 0 deletions