diff options
author | Trond Myklebust <[email protected]> | 2021-07-07 22:08:32 -0400 |
---|---|---|
committer | Trond Myklebust <[email protected]> | 2021-10-03 20:49:05 -0400 |
commit | 342a67f0884293639bd17ea44df754ead799e669 (patch) | |
tree | 6dc6194415ca68135a2c6ab1e2c5b308aa48cfee /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 9e1ff307c779ce1f0f810c7ecce3d95bbae40896 (diff) |
NFS: Label the dentry with a verifier in nfs_link(), nfs_symlink()
After the success of an operation such as link(), or symlink(), we
expect to add the dentry back to the dcache as an ordinary positive
dentry.
However in NFS, unless it is labelled with the appropriate verifier for
the parent directory state, then nfs_lookup_revalidate will end up
discarding that dentry and forcing a new lookup.
The fix is to ensure that we relabel the dentry appropriately on
success.
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions