diff options
author | Jeff Layton <jlayton@kernel.org> | 2024-12-09 16:13:53 -0500 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2025-01-21 15:29:40 -0500 |
commit | 531503054e8fe9f4502fff0dceba20dfaa9920d5 (patch) | |
tree | d5640e52fde041be2602aa008e77202a061e8a95 /tools/perf/scripts/python/parallel-perf.py | |
parent | 1196bdce3d107194dd15f508602871ffb7ff2d0b (diff) |
nfsd: fix handling of delegated change attr in CB_GETATTR
RFC8881, section 10.4.3 has some specific guidance as to how the
delegated change attribute should be handled. We currently don't follow
that guidance properly.
In particular, when the file is modified, the server always reports the
initial change attribute + 1. Section 10.4.3 however indicates that it
should be incremented on every GETATTR request from other clients.
Only request the change attribute until the file has been modified. If
there is an outstanding delegation, then increment the cached change
attribute on every GETATTR.
Fixes: 6487a13b5c6b ("NFSD: add support for CB_GETATTR callback")
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions