All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg@redhat.com>
To: "Pádraig Brady" <P@draigBrady.com>
Cc: Karel Zak <kzak@redhat.com>,
	Randy Dunlap <randy.dunlap@oracle.com>,
	linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	mingo@redhat.com, val.henson@gmail.com, matthew@wil.cx,
	util-linux-ng@vger.kernel.org
Subject: Re: [PATCH v2 2/2] relatime: Allow making relatime the default	behaviour
Date: Thu, 27 Nov 2008 17:39:06 +0000	[thread overview]
Message-ID: <20081127173906.GA24126@srcf.ucam.org> (raw)
In-Reply-To: <492ED945.5010600@draigBrady.com>

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@vger.kernel.org
> 
> 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@srcf.ucam.org

WARNING: multiple messages have this Message-ID (diff)
From: Matthew Garrett <mjg-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: "Pádraig Brady" <P@draigBrady.com>
Cc: Karel Zak <kzak-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	Randy Dunlap
	<randy.dunlap-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>,
	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
Subject: Re: [PATCH v2 2/2] relatime: Allow making relatime the default	behaviour
Date: Thu, 27 Nov 2008 17:39:06 +0000	[thread overview]
Message-ID: <20081127173906.GA24126@srcf.ucam.org> (raw)
In-Reply-To: <492ED945.5010600-V8g9lnOeT5ydJdNcDFJN0w@public.gmane.org>

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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> 
> 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-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

  reply	other threads:[~2008-11-27 17:39 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-26 19:54 [PATCH 1/2] relatime: Make atime updates more useful Matthew Garrett
2008-11-26 19:58 ` [PATCH 2/2] relatime: Allow making relatime the default behaviour Matthew Garrett
2008-11-26 21:11   ` Matthew Wilcox
2008-11-26 22:39   ` Randy Dunlap
2008-11-27 15:01     ` [PATCH v2 1/2] relatime: Make relatime behaviour smarter Matthew Garrett
2008-11-27 15:03       ` [PATCH v2 2/2] relatime: Allow making relatime the default behaviour Matthew Garrett
2008-11-27 15:07         ` Ingo Molnar
2008-11-27 16:03         ` Karel Zak
2008-11-27 17:30           ` Pádraig Brady
2008-11-27 17:30             ` Pádraig Brady
2008-11-27 17:39             ` Matthew Garrett [this message]
2008-11-27 17:39               ` Matthew Garrett
2008-11-27 16:35         ` Alan Cox
2008-11-27 16:47           ` Matthew Garrett
2008-11-27 16:59             ` [PATCH v3] relatime: Make relatime smarter Matthew Garrett
2008-11-27 17:06               ` Christoph Hellwig
2008-11-27 17:58                 ` [PATCH v4] " Matthew Garrett
2008-11-27 22:08                   ` Andreas Dilger
2008-11-27 22:35                     ` Matthew Wilcox
2008-11-28 11:13                     ` Jamie Lokier
2008-11-28 13:41                     ` Matthew Garrett
2008-11-28 11:18                   ` Jamie Lokier
2008-11-28 13:40                     ` Matthew Wilcox
2008-11-28 13:47                       ` Matthew Garrett
2008-12-02 11:10                       ` Karel Zak
2008-12-02 16:46                         ` Matthew Wilcox
2008-11-27 19:15               ` [PATCH v3] " Alan Cox
2008-11-28 11:16                 ` Jamie Lokier
2008-11-28 13:45                   ` Matthew Garrett
2008-11-27 17:03         ` [PATCH v2 2/2] relatime: Allow making relatime the default behaviour Christoph Hellwig
2008-11-29  8:24           ` Andrew Morton
2008-11-29 13:03             ` Matthew Wilcox
2008-11-29 13:57               ` Jörn Engel
2008-11-29 13:57                 ` Jörn Engel
2008-11-29 18:56                 ` Jamie Lokier
2008-11-29 18:56                   ` Jamie Lokier
2008-11-29 19:02                   ` Matthew Garrett
2008-11-29 20:32                     ` Andrew Morton
2008-11-29 20:38                       ` Matthew Wilcox
2008-11-29 20:56                         ` Andrew Morton
2008-11-29 21:41                         ` Ingo Molnar
2008-11-29 20:55                       ` Arjan van de Ven
2008-11-29 21:03                         ` Matthew Garrett
2008-11-29 21:02                       ` Matthew Garrett
2008-11-27 15:06       ` [PATCH v2 1/2] relatime: Make relatime behaviour smarter Ingo Molnar
2008-11-29  8:29 ` [PATCH 1/2] relatime: Make atime updates more useful Andrew Morton
2008-12-02 17:19 ` [PATCH] relatime: Let relatime update atime at least once per day Matthew Garrett
2008-12-13  5:26   ` Valerie Aurora Henson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081127173906.GA24126@srcf.ucam.org \
    --to=mjg@redhat.com \
    --cc=P@draigBrady.com \
    --cc=kzak@redhat.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthew@wil.cx \
    --cc=mingo@redhat.com \
    --cc=randy.dunlap@oracle.com \
    --cc=util-linux-ng@vger.kernel.org \
    --cc=val.henson@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.