[PATCH] enable possibility of ALL different atime mount options

Eric Sandeen sandeen at sandeen.net
Thu Jan 29 22:42:53 CST 2009


Roland Eggner wrote:
> Utako Kusaka has provided this patch
> http://oss.sgi.com/archives/xfs/2007-10/msg00168.html
> It works for me GRACEFULLY with ALL different atime mount options: atime|noatime|relatime.
> Note, the mount options are effective, not only accepted.
> Prior to this patch, mount option atime has been ignored.



> Please put the patch to mainline, it would save worries for users, who need the traditional atime
> bahavior.  Think of some corner cases for desktop usage.
> 

Which specific problem is this fixing for you?

you say that atime is ignored; but:

default mounts:

[root at inode test]# echo foo > atimetestfile
[root at inode test]# stat atimetestfile
Access: 2009-01-30 04:36:47.470348714 -0600
[root at inode test]# cat atimetestfile
foo
[root at inode test]# stat atimetestfile
Access: 2009-01-30 04:36:57.450339777 -0600

remount as noatime:

[root at inode test]# mount -o remount,noatime .
[root at inode test]# stat atimetestfile
Access: 2009-01-30 04:36:57.450339777 -0600
[root at inode test]# cat atimetestfile
foo
[root at inode test]# stat atimetestfile
Access: 2009-01-30 04:36:57.450339777 -0600

it would appear to be working...

-Eric




More information about the xfs mailing list