linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris Mason <chris.mason@oracle.com>
To: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: Christoph Hellwig <hch@lst.de>,
	linux-fsdevel@vger.kernel.org, jeffm@suse.com
Subject: Re: vfat vs msdos and -o flush
Date: Tue, 9 Mar 2010 08:42:47 -0500	[thread overview]
Message-ID: <20100309134247.GI15485@think> (raw)
In-Reply-To: <877hpt1q96.fsf@devron.myhome.or.jp>

On Wed, Mar 03, 2010 at 10:36:21PM +0900, OGAWA Hirofumi wrote:
> Christoph Hellwig <hch@lst.de> writes:
> 
> > Commit ae78bf9c4f5fde3c67e2829505f195d7347ce3e4 added a -o flush
> > option to the fat driver back in 2006, which causes asynchronous
> > writeout after I/O operations ASAP.  This already is quite hacky
> > and not something I like very much, but even worse the option
> > is accepted when using the more common vfat filesysten type, but
> > only actually implemented for the less common legacy msdos
> > filesystem type.
> >
> > This tells us two lessons:
> >
> >   - the -o flush option probably never got a whole lot of exposure
> >     and users didn't notice it doesn't work.  We might as well just
> >     remove it again
> 
> Sigh. Chris, could you handle this?

I'm not against removing it.  The option was added to handle desktop
workloads where mount -o sync was too slow but people still wanted to be
able to rip out the usb stick..  Added Jeff to the cc list, is this still
in use?

Now that we have per-bdi dirty accounting, I think we're much much
better off to set the dirty limit on the bdi to 1 byte or something and
just let the page cache code do it all for us.

-chris

  parent reply	other threads:[~2010-03-09 13:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-01 17:08 vfat vs msdos and -o flush Christoph Hellwig
2010-03-03 13:36 ` OGAWA Hirofumi
2010-03-07 11:00   ` OGAWA Hirofumi
2010-03-07 13:06   ` Christoph Hellwig
2010-03-07 14:15     ` OGAWA Hirofumi
2010-03-09 12:57       ` Christoph Hellwig
2010-03-09 13:42   ` Chris Mason [this message]
2010-03-10 19:19     ` Jeff Mahoney

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=20100309134247.GI15485@think \
    --to=chris.mason@oracle.com \
    --cc=hch@lst.de \
    --cc=hirofumi@mail.parknet.co.jp \
    --cc=jeffm@suse.com \
    --cc=linux-fsdevel@vger.kernel.org \
    /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).