On 12/04/2021 13.04, Dave Howorth wrote:
On Mon, 12 Apr 2021 09:50:03 +0200 "Carlos E. R." <> wrote:
The partition was mounted "relatime,lazytime".
What does that even mean? Aren't they mutually contradictory?
Nope. (relatime is a default option) relatime Update inode access times relative to modify or change time. Access time is only updated if the previous access time was earlier than the cur- rent modify or change time. (Similar to noatime, but it doesn't break mutt or other applications that need to know if a file has been read since the last time it was modified.) Since Linux 2.6.30, the kernel defaults to the behavior provided by this option (unless noatime was specified), and the strictatime option is required to obtain traditional semantics. In addition, since Linux 2.6.30, the file's last access time is always updated if it is more than 1 day old. lazytime Only update times (atime, mtime, ctime) on the in-memory version of the file inode. This mount option significantly reduces writes to the inode table for workloads that perform frequent random writes to preallocated files. The on-disk timestamps are updated only when: - the inode needs to be updated for some change unrelated to file timestamps - the application employs fsync(2), syncfs(2), or sync(2) - an undeleted inode is evicted from memory - more than 24 hours have passed since the i- node was written to disk. -- Cheers / Saludos, Carlos E. R. (from 15.2 x86_64 at Telcontar)