[Top] [All Lists]

XFS ignores all atime related mount options, noatime is always in effect

To: SGI Project XFS mailing list <xfs@xxxxxxxxxxx>
Subject: XFS ignores all atime related mount options, noatime is always in effect, documentation misses this information
From: Roland Eggner <edvx1@xxxxxxxxxxxxxxxxxx>
Date: Thu, 18 Dec 2008 19:15:13 +0100
Reply-to: "Roland Eggner" <edvx1@xxxxxxxxxxxxxxxxxx>
User-agent: KMail/1.9.6
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 Tue Apr 15 17:10:52 CEST 2008 i686 GNU/Linux

$  zgrep XFS /proc/config.gz
# CONFIG_XFS_QUOTA is not set
# CONFIG_VXFS_FS is not set

In mailing list archive I found
It seems, that 3 years ago an unconditional noatime enforcement has been

(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

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


Roland Eggner

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