Re: [PATCH v4] relatime: Make relatime smarter

From: Andreas Dilger
Date: Thu Nov 27 2008 - 17:09:02 EST


On Nov 27, 2008 17:58 +0000, Matthew Garrett wrote:
> + relatime_interval=
> + [FS] relative atime update frequency, in seconds.
> + (default: 1 day: 86400 seconds)

The one problem with a 1-day default is that cron jobs like updatedb will
revert to updating the atime on every single file every day. It would be
better to make it slightly more than 1 day (e.g. 25h) to avoid this and
at least defer atime updates to every other day for files that are not
otherwise accessed except by cron.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/