Re: [PATCH v2 2/2] relatime: Allow making relatime the default behaviour

From: JÃrn Engel
Date: Sat Nov 29 2008 - 08:58:51 EST



On Sat, 29 November 2008 06:03:08 -0700, Matthew Wilcox wrote:
>
> That would imply that relatime could be different per-mountpoint.
>
> I favour not making it configurable at all.

I guess some amount if configuration may be necessary. If you go back
to the beginning of the thread...

On Wed, 26 November 2008 19:54:57 +0000, Matthew Garrett wrote:
>
> Allow atime to be updated once per day even with relatime enabled. This
> lets utilities like tmpreaper (which deletes files based on last access
> time) continue working.

...and check the tmpreaper manpage, you will notice that tmpreaper can
be configured as well. So relatime has a default timeout of T and
tmpreaper is configured to delete files after 1/2 T (never mind what T
might be), the system breaks. Guessing a value of T that is good enough
for everyone is a complicated business, so one configurable makes sense
imo.

One per mountpoint is rather silly, of course.

JÃrn

--
Mundie uses a textbook tactic of manipulation: start with some
reasonable talk, and lead the audience to an unreasonable conclusion.
-- Bruce Perens
--
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/