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

From: Ingo Molnar
Date: Thu Nov 27 2008 - 10:07:50 EST



* Matthew Garrett <mjg@xxxxxxxxxx> wrote:

> Add support for defaulting to relatime
>
> Allow the kernel to enable relatime on all mounts by default. This can be
> configured at build time or by a kernel parameter or sysctl. Also add a
> MS_NORELATIME mount option to allow the default to be overridden for specific
> mount points.
>
> Signed-off-by: Matthew Garrett <mjg@xxxxxxxxxx>
>
> ---
>
> Incorporates Randy's suggestion to change default_relatime to
> relatime_default, along with a couple of typographical fixes

> +config DEFAULT_RELATIME
> + bool "Mount all filesystems with relatime by default"
> + default y

This should not be enabled by default - but distros can set it to
enabled just fine.

Looks good otherwise!

Acked-by: Ingo Molnar <mingo@xxxxxxx>

Ingo
--
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/