Searched hist:"7 d875e66859a4359acd29ce0d188e1aff048e7ed" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/fuse/ |
H A D | dir.c | diff 7d875e66859a4359acd29ce0d188e1aff048e7ed Mon Jul 10 23:34:02 CDT 2023 Jiachen Zhang <zhangjiachen.jaycee@bytedance.com> 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 <zhangjiachen.jaycee@bytedance.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
|