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. Change-Id: I482c57b1a0a82fee7e7a5b930df3fc6683497fda Signed-off-by:Andrew Gallagher <andrewjcg@fb.com> Signed-off-by:
Miklos Szeredi <mszeredi@suse.cz> Git-commit: 451418fc928b5ec1ee96a9afac807b6312811a2a Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git Signed-off-by:
Nikhilesh Reddy <reddyn@codeaurora.org>
Loading
Please register or sign in to comment