linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Mahoney <jeffm@suse.com>
To: Chris Mason <chris.mason@oracle.com>,
	OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>,
	Christoph Hellwig <hch@lst.de>,
	linux-fsdevel@vger.kernel.org
Subject: Re: vfat vs msdos and -o flush
Date: Wed, 10 Mar 2010 14:19:50 -0500	[thread overview]
Message-ID: <4B97F0D6.8000104@suse.com> (raw)
In-Reply-To: <20100309134247.GI15485@think>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/09/2010 08:42 AM, Chris Mason wrote:
> 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.

Yes, we still use it on openSUSE, but we haven't gotten any reports
about it being broken. I expect it's because it's only partly broken and
users haven't run into breakage with pure metadata operations. The inode
still gets written back when the file is closed.

If this can be solved differently, perfect.

- -Jeff

- -- 
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkuX8NYACgkQLPWxlyuTD7KERQCfQJKKxZ98XfLIe7T9qcyhtkpY
j54An2PP5zz9UU+TXaIhNC0dQdY81w2g
=2jPD
-----END PGP SIGNATURE-----

      reply	other threads:[~2010-03-10 19:19 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
2010-03-10 19:19     ` Jeff Mahoney [this message]

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=4B97F0D6.8000104@suse.com \
    --to=jeffm@suse.com \
    --cc=chris.mason@oracle.com \
    --cc=hch@lst.de \
    --cc=hirofumi@mail.parknet.co.jp \
    --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).