fuse: don't invalidate attrs when not using atime
Various read operations (e.g. readlink, readdir) invalidate the cached attrs for atime changes. This patch adds a new function 'fuse_invalidate_atime', which checks for a read-only super block and avoids the attr invalidation in that case. Signed-off-by:Andrew Gallagher <andrewjcg@fb.com> Signed-off-by:
Miklos Szeredi <mszeredi@suse.cz>
parent
063ec1e5
Please register or sign in to comment