summaryrefslogtreecommitdiffstats
path: root/fs/mpage.c
diff options
context:
space:
mode:
authorChristoph Hellwig2006-01-10 05:52:17 +0100
committerLinus Torvalds2006-01-10 17:01:34 +0100
commitfc33a7bb9c6dd8f6e4a014976200f8fdabb3a45c (patch)
tree26f4d676de476075545e58057aa5d8c57618741d /fs/mpage.c
parent[PATCH] 9p: remove superflous MS_NODIRATIME assignment (diff)
downloadkernel-qcow2-linux-fc33a7bb9c6dd8f6e4a014976200f8fdabb3a45c.tar.gz
kernel-qcow2-linux-fc33a7bb9c6dd8f6e4a014976200f8fdabb3a45c.tar.xz
kernel-qcow2-linux-fc33a7bb9c6dd8f6e4a014976200f8fdabb3a45c.zip
[PATCH] per-mountpoint noatime/nodiratime
Turn noatime and nodiratime into per-mount instead of per-sb flags. After all the preparations this is a rather trivial patch. The mount code needs to treat the two options as per-mount instead of per-superblock, and touch_atime needs to be changed to check the new MNT_ flags in addition to the MS_ flags that are kept for filesystems that are always noatime/nodiratime but not user settable anymore. Besides that core code only nfs needed an update because it's leaving atime updates to the server and thus sets the S_NOATIME flag on every inode, but needs to know whether it's a real noatime mount for an getattr optimization. While we're at it I've killed the IS_NOATIME/IS_NODIRATIME macros that were only used by touch_atime. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/mpage.c')
0 files changed, 0 insertions, 0 deletions