public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* XFS ignores all atime related mount options, noatime is always in effect, documentation misses this information
@ 2008-12-18 18:15 Roland Eggner
  2008-12-19 13:01 ` Martin Steigerwald
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Eggner @ 2008-12-18 18:15 UTC (permalink / raw)
  To: SGI Project XFS mailing list

On my linux box I tried to achieve regular atime behaviour, tried mount with
no atime related option at all, tried mount options atime, sync,
osyncisosync, .. XFS on plain partitions, on loop devices .. I tried another
kernel (sidux image with kernel 2.6.25-9) ..

My result:
It seems impossible to switch off "noatime" mount option.
atime updates happen only in core, never on disk unless coinciding with other
inode modifications, regardless of specified mount options.

$  uname -a
Linux roland 2.6.23.12roland2 #2 Tue Apr 15 17:10:52 CEST 2008 i686 GNU/Linux

$  zgrep XFS /proc/config.gz
CONFIG_XFS_FS=m
# CONFIG_XFS_QUOTA is not set
CONFIG_XFS_SECURITY=y
CONFIG_XFS_POSIX_ACL=y
CONFIG_XFS_RT=y
# CONFIG_VXFS_FS is not set

In mailing list archive I found
http://oss.sgi.com/archives/xfs/2007-10/msg00168.html
It seems, that 3 years ago an unconditional noatime enforcement has been
introduced.

(1)  If this is true, please update documentation accordingly.
Users, who need a filesystem with regular atime behaviour, will no more waste
their time to try XFS, when in fact it is unusable for their particular
requirements.

(2)  If I missed a possibility to achieve regular atime behaviour, please
document it in Documentation/filesystems/xfs.txt and in man 8 mount.

Thanks!

-- 
Roland Eggner

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-19 13:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-18 18:15 XFS ignores all atime related mount options, noatime is always in effect, documentation misses this information Roland Eggner
2008-12-19 13:01 ` Martin Steigerwald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox