From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Garrett Subject: Re: [PATCH v2 2/2] relatime: Allow making relatime the default behaviour Date: Thu, 27 Nov 2008 17:39:06 +0000 Message-ID: <20081127173906.GA24126@srcf.ucam.org> 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> <20081127160353.GQ2961@nb.net.home> <492ED945.5010600@draigBrady.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Karel Zak , Randy Dunlap , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, mingo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, val.henson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, matthew-Ztpu424NOJ8@public.gmane.org, util-linux-ng-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: =?iso-8859-1?Q?P=E1draig?= Brady Return-path: Content-Disposition: inline In-Reply-To: <492ED945.5010600-V8g9lnOeT5ydJdNcDFJN0w@public.gmane.org> Sender: util-linux-ng-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-fsdevel.vger.kernel.org On Thu, Nov 27, 2008 at 05:30:45PM +0000, P=E1draig 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 def= ault */ > >=20 > > CC: util-linux-ng-u79uwXL29TY76Z2rM5mHXA@public.gmane.org >=20 > That's useful. Without this, to disable relatime you needed to: >=20 > 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=20 userspace, so there's no need to have a kernel fs parameter to forcibly= =20 disable it. --=20 Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng= " in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html