LWN.net Logo

A compromise?

A compromise?

Posted Jun 7, 2012 9:35 UTC (Thu) by Mity (guest, #85011)
Parent article: Atime and btrfs: a bad combination?

Assuming keeping reliable atime in snapshots is less important, a compromise solution could be implemented this way:
(1) Specifying that atimes of files in snapshot are undefined.
(2) Hack btrfs so that sole atime change does not trigger write-on-copy.

I.e. the unchanged files in the snapshot would silently share the atime with the live file as long as the live file is not really explicitly written.


(Log in to post comments)

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