From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [PATCH v2 2/2] relatime: Allow making relatime the default behaviour Date: Thu, 27 Nov 2008 16:07:23 +0100 Message-ID: <20081127150723.GD10188@elte.hu> References: <20081126195457.GA3541@srcf.ucam.org> <20081126195824.GB3541@srcf.ucam.org> <492DD035.5020705@oracle.com> <20081127150126.GA20941@srcf.ucam.org> <20081127150341.GB20941@srcf.ucam.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Randy Dunlap , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, mingo@redhat.com, val.henson@gmail.com, matthew@wil.cx To: Matthew Garrett Return-path: Received: from mx3.mail.elte.hu ([157.181.1.138]:34195 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752161AbYK0PHj (ORCPT ); Thu, 27 Nov 2008 10:07:39 -0500 Content-Disposition: inline In-Reply-To: <20081127150341.GB20941@srcf.ucam.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: * Matthew Garrett 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 > > --- > > 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 Ingo