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

From: Andrew Morton
Date: Sat Nov 29 2008 - 15:56:52 EST


On Sat, 29 Nov 2008 13:38:57 -0700 Matthew Wilcox <matthew@xxxxxx> wrote:

> On Sat, Nov 29, 2008 at 12:32:20PM -0800, Andrew Morton wrote:
> > The standard, usual, expected way of modifying a filesystem's behaviour
> > is via mount options. This is also quite flexible.
> >
> > Is there some extraordinary reason why the standard interface is not to
> > be used here?
>
> Because it would have to be managed (and consulted) per ... what?
> vfsmount? superblock?

Per superblock, of course.

> This is featuritis gone MAD.

No it isn't - it's the expected and standard behaviour. We have all
the kernel infrastructure and userspace tools in place for doing it
this way.

Modifying the behaviour of all filesystems with a single knob is a
weird thing to do.

MNT_RELATIME itself is already per-superblock.
--
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/