1
linux/fs/gfs2
Steven Whitehouse 719ee34467 GFS2: high time to take some time over atime
Until now, we've used the same scheme as GFS1 for atime. This has failed
since atime is a per vfsmnt flag, not a per fs flag and as such the
"noatime" flag was not getting passed down to the filesystems. This
patch removes all the "special casing" around atime updates and we
simply use the VFS's atime code.

The net result is that GFS2 will now support all the same atime related
mount options of any other filesystem on a per-vfsmnt basis. We do lose
the "lazy atime" updates, but we gain "relatime". We could add lazy
atime to the VFS at a later date, if there is a requirement for that
variant still - I suspect relatime will be enough.

Also we lose about 100 lines of code after this patch has been applied,
and I have a suspicion that it will speed things up a bit, even when
atime is "on". So it seems like a nice clean up as well.

From a user perspective, everything stays the same except the loss of
the per-fs atime quantum tweekable (ought to be per-vfsmnt at the very
least, and to be honest I don't think anybody ever used it) and that a
number of options which were ignored before now work correctly.

Please let me know if you've got any comments. I'm pushing this out
early so that you can all see what my plans are.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2008-09-18 13:53:59 +01:00
..
locking/dlm [GFS2] Fix module building 2008-06-27 09:40:57 +01:00
acl.c
acl.h
bmap.c [GFS2] fix gfs2 block allocation (cleaned up) 2008-06-24 19:02:28 +01:00
bmap.h
daemon.c
daemon.h
dir.c
dir.h
eaops.c
eaops.h
eattr.c
eattr.h
gfs2.h [GFS2] Remove remote lock dropping code 2008-06-27 09:39:44 +01:00
glock.c GFS2: high time to take some time over atime 2008-09-18 13:53:59 +01:00
glock.h GFS2: high time to take some time over atime 2008-09-18 13:53:59 +01:00
glops.c [GFS2] Clean up the glock core 2008-06-27 09:39:22 +01:00
glops.h
incore.h GFS2: high time to take some time over atime 2008-09-18 13:53:59 +01:00
inode.c GFS2: high time to take some time over atime 2008-09-18 13:53:59 +01:00
inode.h GFS2: high time to take some time over atime 2008-09-18 13:53:59 +01:00
Kconfig [GFS2] No lock_nolock 2008-06-27 09:39:28 +01:00
locking.c [GFS2] Fix ordering of args for list_add 2008-06-27 09:39:34 +01:00
log.c [GFS2] trivial sparse lock annotations 2008-06-27 09:39:31 +01:00
log.h [GFS2] trivial sparse lock annotations 2008-06-27 09:39:31 +01:00
lops.c
lops.h
main.c SL*B: drop kmem cache argument from constructor 2008-07-26 12:00:07 -07:00
Makefile [GFS2] No lock_nolock 2008-06-27 09:39:28 +01:00
meta_io.c [GFS2] Clean up the glock core 2008-06-27 09:39:22 +01:00
meta_io.h [GFS2] Clean up the glock core 2008-06-27 09:39:22 +01:00
mount.c GFS2: Fix metafs mounts 2008-08-13 09:59:40 +01:00
mount.h
ops_address.c GFS2: high time to take some time over atime 2008-09-18 13:53:59 +01:00
ops_address.h
ops_dentry.c
ops_dentry.h
ops_export.c [PATCH] don't pass nameidata to gfs2_lookupi() 2008-07-26 20:53:36 -04:00
ops_file.c GFS2: high time to take some time over atime 2008-09-18 13:53:59 +01:00
ops_fstype.c GFS2: high time to take some time over atime 2008-09-18 13:53:59 +01:00
ops_fstype.h
ops_inode.c GFS2: Fix & clean up GFS2 rename 2008-08-27 13:33:10 +01:00
ops_inode.h
ops_super.c GFS2: high time to take some time over atime 2008-09-18 13:53:59 +01:00
ops_super.h
quota.c [GFS2] Fix GFS2's use of do_div() in its quota calculations 2008-07-11 14:35:01 +01:00
quota.h
recovery.c [GFS2] No lock_nolock 2008-06-27 09:39:28 +01:00
recovery.h
rgrp.c [GFS2] Replace rgrp "recent list" with mru list 2008-07-10 15:54:12 +01:00
rgrp.h
super.c GFS2: Fix metafs mounts 2008-08-13 09:59:40 +01:00
super.h GFS2: Fix metafs mounts 2008-08-13 09:59:40 +01:00
sys.c GFS2: high time to take some time over atime 2008-09-18 13:53:59 +01:00
sys.h
trans.c
trans.h
util.c
util.h fs: replace remaining __FUNCTION__ occurrences 2008-04-30 08:29:54 -07:00