Re: [patch] smarter atime updates

Linus Torvalds
2001-11-30T21:56:18Z

On Fri, 30 Nov 2001, Andreas Dilger wrote:
>
> Well, just doing a code check of the update_atime() and UPDATE_ATIME()
> users, and they are all in readlink(), follow_link(), open_namei(),
> and various fs _readdir() codes. None of them (AFAICS) depend on the
> mark_inode_dirty() as a side-effect. This means it should be safe.

More importantly, _if_ somebody depended on the side effects, they'd have
been thwarted by the "noatime" mount option anyway, so any such bug would
not be a new bug.

Linus