|
|
Subscribe / Log in / New account

Atime and btrfs: a bad combination?

Atime and btrfs: a bad combination?

Posted Jun 1, 2012 4:51 UTC (Fri) by neilbrown (subscriber, #359)
In reply to: Atime and btrfs: a bad combination? by jzbiciak
Parent article: Atime and btrfs: a bad combination?

No, please don't disable 'atime'.

I don't use it a lot, but I certainly do use it from time to time to see what files are being accessed. Not a killer feature, but a valuable one.

I'm a big fan of keeping atime in a separate data structure. The liveness properties, stability requirements, and necessary precision are very different from other values in the inode and keeping it together with them is a simplification, not a requirement.


to post comments

Atime and btrfs: a bad combination?

Posted Jun 1, 2012 5:06 UTC (Fri) by jzbiciak (guest, #5246) [Link]

My real point (which your comment echoes) was that atime is so different than just about anything else, that if you want to keep it, it really deserves to be treated rather differently than everything else also. And, as the example in the article shows, atime can have real negative consequences even if you largely ignore it most of the time.

It seems to me the other option, if you don't fix atime, is to mitigate it with hacks (relatime -- which doesn't work well for the attack against btrfs shown in the article) or outright disable it everywhere or almost everywhere.

My comment above was perhaps slightly over the top. Sorry for any confusion.

Atime and btrfs: a bad combination?

Posted Jun 1, 2012 14:10 UTC (Fri) by jezuch (subscriber, #52988) [Link] (1 responses)

> I don't use it a lot, but I certainly do use it from time to time to see what files are being accessed. Not a killer feature, but a valuable one.

Hah. I disable ataime on all my filesystems and the only use I have for it is a side effect: it functions as creation time, which is much more valuable for me than access time :)

Atime and btrfs: a bad combination?

Posted Jun 1, 2012 15:13 UTC (Fri) by jamesh (guest, #1159) [Link]

Provided no one goes and updates the atime via utime() or touch.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds