On January 19, 2016 10:23:33 AM EST, Taylor R Campbell <campbell+netbsd-tech-k...@mumble.net> wrote: > Date: Tue, 19 Jan 2016 15:52:33 +0100 > From: Stephan <stephan...@googlemail.com> > >A way to circumvent these hangs is to remount the filesystem with >noatime. > >Maybe we should make noatime the default... I have mounted all my >file systems with noatime for many years, and never regretted it.
The fact that /etc/daily updates the atime on all directories (I presume it's not actually all *files*, is it?) seems like a contributing poor behavior. That would mask any "actual" access time updates. It's too bad our open(2) doesn't have support for a O_NOATIME flag. With that, and modifications to fts(), find and locate's updatedb then you could keep atime turned on without as much of a daily performance hit. Eric