linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Sage Weil <sage@newdream.net>
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
	"Aneesh Kumar K. V" <aneesh.kumar@linux.vnet.ibm.com>,
	Jonathan Nieder <jrnieder@gmail.com>,
	akpm@linux-foundation.org, linux-api@vger.kernel.org,
	mtk.manpages@gmail.com, viro@zeniv.linux.org.uk, hch@lst.de,
	linux-arch@vger.kernel.org
Subject: Re: [PATCH v3] introduce sys_syncfs to sync a single file system
Date: Thu, 10 Mar 2011 23:08:22 +0100	[thread overview]
Message-ID: <201103102308.23006.arnd@arndb.de> (raw)
In-Reply-To: <Pine.LNX.4.64.1103101125150.4190@cobra.newdream.net>

On Thursday 10 March 2011 20:31:30 Sage Weil wrote:
> It is frequently useful to sync a single file system, instead of all
> mounted file systems via sync(2):
> 
>  - On machines with many mounts, it is not at all uncommon for some of
>    them to hang (e.g. unresponsive NFS server).  sync(2) will get stuck on
>    those and may never get to the one you do care about (e.g., /).
>  - Some applications write lots of data to the file system and then
>    want to make sure it is flushed to disk.  Calling fsync(2) on each
>    file introduces unnecessary ordering constraints that result in a large
>    amount of sub-optimal writeback/flush/commit behavior by the file
>    system.
> 
> ...
> Signed-off-by: Sage Weil <sage@newdream.net>

Reviewed-by: Arnd Bergmann <arnd@arndb.de>

  reply	other threads:[~2011-03-10 22:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.64.1102171035220.13904@cobra.newdream.net>
     [not found] ` <20110303072223.GA28133@elie>
     [not found]   ` <87bp1sziqn.fsf@linux.vnet.ibm.com>
     [not found]     ` <Pine.LNX.4.64.1103071515070.11152@cobra.newdream.net>
2011-03-10 19:31       ` [PATCH v3] introduce sys_syncfs to sync a single file system Sage Weil
2011-03-10 22:08         ` Arnd Bergmann [this message]
     [not found]         ` <Pine.LNX.4.64.1103101125150.4190-vIokxiIdD2AQNTJnQDzGJqxOck334EZe@public.gmane.org>
2011-03-11  4:44           ` Aneesh Kumar K. V
2011-03-11  4:44             ` Aneesh Kumar K. V
2011-03-13 20:59         ` Christoph Hellwig
2011-03-13 20:59           ` Christoph Hellwig

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=201103102308.23006.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=akpm@linux-foundation.org \
    --cc=aneesh.kumar@linux.vnet.ibm.com \
    --cc=hch@lst.de \
    --cc=jrnieder@gmail.com \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mtk.manpages@gmail.com \
    --cc=sage@newdream.net \
    --cc=viro@zeniv.linux.org.uk \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).