From: Andrew Morton <akpm@osdl.org>
To: Andrey Borzenkov <arvidjaar@mail.ru>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Syncing single filesystem (slow USB writing)
Date: Thu, 28 Jul 2005 20:50:16 -0700 [thread overview]
Message-ID: <20050728205016.1bdf7288.akpm@osdl.org> (raw)
In-Reply-To: <200507290731.32694.arvidjaar@mail.ru>
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.
For reference: how does mandrake implement this? Just in /etc/fstab? How
should we tell other people to fix this?
> 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.
next prev parent reply other threads:[~2005-07-29 3:51 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 [this message]
2005-07-29 4:12 ` Andrey Borzenkov
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=20050728205016.1bdf7288.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=arvidjaar@mail.ru \
--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