diff options
| author | Jiachen Zhang <[email protected]> | 2023-07-11 04:34:02 +0000 |
|---|---|---|
| committer | Miklos Szeredi <[email protected]> | 2023-08-21 10:14:59 +0000 |
| commit | 7d875e66859a4359acd29ce0d188e1aff048e7ed (patch) | |
| tree | 5aee54823ebc695b43e1ee17a98ed1e887264c54 /tools/perf/scripts/python/libxed.py | |
| parent | fuse: cache btime (diff) | |
| download | kernel-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
