aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorJiachen Zhang <[email protected]>2023-07-11 04:34:02 +0000
committerMiklos Szeredi <[email protected]>2023-08-21 10:14:59 +0000
commit7d875e66859a4359acd29ce0d188e1aff048e7ed (patch)
tree5aee54823ebc695b43e1ee17a98ed1e887264c54 /tools/perf/scripts/python/libxed.py
parentfuse: cache btime (diff)
downloadkernel-7d875e66859a4359acd29ce0d188e1aff048e7ed.tar.gz
kernel-7d875e66859a4359acd29ce0d188e1aff048e7ed.zip
fuse: invalidate dentry on EEXIST creates or ENOENT deletes
The EEXIST errors returned from server are strong sign that a local negative dentry should be invalidated. Similarly, The ENOENT errors from server can also be a sign of revalidate failure. This commit invalidates dentries on EEXIST creates and ENOENT deletes by calling fuse_invalidate_entry(), which improves the consistency with no performance degradation. Signed-off-by: Jiachen Zhang <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions