Re: [PATCH v4] relatime: Make relatime smarter

From: Matthew Garrett
Date: Fri Nov 28 2008 - 08:47:34 EST


On Fri, Nov 28, 2008 at 06:40:55AM -0700, Matthew Wilcox wrote:
> On Fri, Nov 28, 2008 at 11:18:09AM +0000, Jamie Lokier wrote:
> > Matthew Garrett wrote:
> > > The time between atime updates can be configured at boot
> > > with the relatime_interval kernel argument, or at runtime through a sysctl.
> >
> > Shouldn't it be a per-mount value, with defaults coming from the sysctl?
>
> Perhaps a more sensible question would be "Why make it configurable at
> all?" What's wrong with hardcoding 24 hours? Or, to put it another
> way, who wants to change it from 24 hours, and why?

There's approximately no cost to it, and arguably use cases that would
benefit. I don't think they'd be common enough to benefit from the
additional complexity of making it per-mount.

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