LWN.net Logo

Once upon atime

Once upon atime

Posted Aug 9, 2007 14:52 UTC (Thu) by davecb (subscriber, #1574)
Parent article: Once upon atime

The article notes: It was suggested that, whenever a file's inode is to be written to disk anyway, the kernel might as well update atime as well. Alan Cox objected that this change might make the overall behavior less predictable, which might not be desirable.

Solaris has a "defer atime" mount option that does the atime update only when other disk I/O is scheduled, which gives a fairly fine-grained update, and makes the behavior less prefictable, but closer to what happens when atime is turned on. This approach has been in place for a number of years (five or six, at least) and doesn't confuse programs or unsuspecting users.

--dave


(Log in to post comments)

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