From: Andrey Borzenkov <arvidjaar@mail.ru>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Syncing single filesystem (slow USB writing)
Date: Fri, 29 Jul 2005 08:12:23 +0400 [thread overview]
Message-ID: <200507290812.25976.arvidjaar@mail.ru> (raw)
In-Reply-To: <20050728205016.1bdf7288.akpm@osdl.org>
[-- Attachment #1: Type: text/plain, Size: 1533 bytes --]
On Friday 29 July 2005 07:50, Andrew Morton wrote:
> Andrey Borzenkov <arvidjaar@mail.ru> wrote:
> > Mandrake always mounted USB sticks with sync option; it was effectively
> > noop except for a patch that implemented limited dsync semantic.
> >
> > Now, when full sync support for FATis in kernel, moutning with sync
> > became real pain. Writing speed dropped from 3MB/s to 30KB/s in my case
> > (and I am not alone).
>
> Unfortunately I think we're just going to have to live with that. It is
> right that fatfs behaves as it does, and unfortunate that some distros will
> operate slowly.
>
Well, I was not going to suggest killing sync support in FAT :)
> For reference: how does mandrake implement this? Just in /etc/fstab? How
> should we tell other people to fix this?
>
Yes, just fstab option. It has been "fixed" a couple of days ago by removing
sync but I am going to test effect of dsync; it should behave more or less as
before and provide at least some level of fs consistency.
> > One idea how to improve situation - continue to mount with dsync (having
> > basically old case) and do frequent sync of filesystem (this culd be
> > started as HAL callout or whatever). Unfortunately, I could not find a
> > way to request a sync (flush) of single mount point or block device. Have
> > I missed something?
>
> It's trivial to do in-kernel but no, I'm afraid there isn't a userspace
> interface for this.
Oh well, let's do it in kernel to check if it is worth hassle.
Thanks
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-07-29 4:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-29 3:31 Syncing single filesystem (slow USB writing) Andrey Borzenkov
2005-07-29 3:50 ` Andrew Morton
2005-07-29 4:12 ` Andrey Borzenkov [this message]
2005-07-29 10:28 ` Andrey Borzenkov
2005-07-29 11:20 ` Andrew Morton
2005-07-29 11:44 ` Andrey Borzenkov
2005-07-29 17:52 ` Andrew Morton
2005-07-29 7:53 ` Jan Engelhardt
2005-07-29 21:10 ` Chris Wedgwood
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=200507290812.25976.arvidjaar@mail.ru \
--to=arvidjaar@mail.ru \
--cc=akpm@osdl.org \
--cc=linux-kernel@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