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

From: Matthew Garrett
Date: Thu Nov 27 2008 - 12:39:22 EST


On Thu, Nov 27, 2008 at 05:30:45PM +0000, Pádraig Brady wrote:
> Karel Zak wrote:
> > On Thu, Nov 27, 2008 at 03:03:41PM +0000, Matthew Garrett wrote:
> >> Also add a MS_NORELATIME mount option
> > [...]
> >> +#define MS_NORELATIME (1<<24) /* Disable relatime even if the default */
> >
> > CC: util-linux-ng@xxxxxxxxxxxxxxx
>
> That's useful. Without this, to disable relatime you needed to:
>
> echo 0 > /proc/sys/fs/default_relatime
> mount -o remount,atime /mnt/point/

I'm dropping that hunk - it's easier to default to relatime in
userspace, so there's no need to have a kernel fs parameter to forcibly
disable it.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
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/