xfs
[Top] [All Lists]

Re: [PATCH] enable possibility of ALL different atime mount options

To: Roland Eggner <edvx1@xxxxxxxxxxxxxxxxxx>
Subject: Re: [PATCH] enable possibility of ALL different atime mount options
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Thu, 29 Jan 2009 23:42:53 -0500
Cc: SGI Project XFS mailing list <xfs@xxxxxxxxxxx>
In-reply-to: <200901300322.02079.edvx1@xxxxxxxxxxxxxxxxxx>
References: <200901300322.02079.edvx1@xxxxxxxxxxxxxxxxxx>
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)
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@inode test]# echo foo > atimetestfile
[root@inode test]# stat atimetestfile
Access: 2009-01-30 04:36:47.470348714 -0600
[root@inode test]# cat atimetestfile
foo
[root@inode test]# stat atimetestfile
Access: 2009-01-30 04:36:57.450339777 -0600

remount as noatime:

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

it would appear to be working...

-Eric

<Prev in Thread] Current Thread [Next in Thread>