diff options
author | Andrew Gallagher <andrewjcg@fb.com> | 2013-11-05 11:55:43 (GMT) |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2014-01-22 18:36:58 (GMT) |
commit | 451418fc928b5ec1ee96a9afac807b6312811a2a (patch) | |
tree | 447f2e957ae82c8e3701bd7f9b127aef564bd4a2 /fs/xfs/xfs_aops.h | |
parent | 063ec1e595f8a82b5a8fd0acb3e88c8b49a1e6c1 (diff) | |
download | linux-451418fc928b5ec1ee96a9afac807b6312811a2a.tar.xz |
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>
Diffstat (limited to 'fs/xfs/xfs_aops.h')
0 files changed, 0 insertions, 0 deletions