linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lionel Bouton <lionel-subscription@bouton.name>
To: Stefan <gentoopower@yahoo.de>
Cc: Erik Slagter <erik@slagter.name>, linux-ide@vger.kernel.org
Subject: Re: USB-Storage, slow speed with sync option
Date: Wed, 14 Sep 2005 14:45:18 +0200	[thread overview]
Message-ID: <43281B5E.2090702@bouton.name> (raw)
In-Reply-To: <4327FEE7.7020707@yahoo.de>

Stefan wrote the following on 14.09.2005 12:43 :

>Erik Slagter wrote:
>  
>
>>
>>Why would you _ever_ want to use the sync mount option on a flash
>>device?
>> 
>>
>>    
>>
>Don't ask me:-)
>
>I used to mount without sync option, but I switched to hal + dbus now
>and with gentoo it automatically sets sync option in fstab :-(
>  
>

This is purely a PBKAK :
users want to remove the device as soon as they get feedback from their 
UI telling them that their transfer is done (in fact they even screw up 
and remove the device before it is done). sync in fstab isn't 
particularly clever, but sync with automount is more useful : when 
properly configured, as soon as the transfer is done the automounter can 
cleanly umount the block device which is nearly instantaneous when sync 
is used. Without sync there can be some awfully long delays with flash 
and huge caches (on a 512M slow SD, I saw 30+ seconds after transfering 
10s or 100s of MB).

This is understandable, for all the removable devices without a clean 
"eject" and VFAT formatted, using sync is probably the best safeguard 
against badly screwed up filesystems.

Lionel.

  reply	other threads:[~2005-09-14 12:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-14  0:53 USB-Storage, slow speed with sync option Stefan
2005-09-14  9:31 ` Erik Slagter
2005-09-14 10:27   ` Stefan
2005-09-14 10:33     ` Erik Slagter
2005-09-14 10:43       ` Stefan
2005-09-14 12:45         ` Lionel Bouton [this message]
2005-09-14 12:51           ` Erik Slagter
     [not found]             ` <87f94c37050914055852ff4789@mail.gmail.com>
2005-09-14 13:04               ` Erik Slagter
2005-09-14 15:26             ` Mark Lord
2005-09-14 15:38               ` Lionel Bouton
2005-09-14 21:38                 ` Mark Lord
2005-09-14 13:37           ` Stefan

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=43281B5E.2090702@bouton.name \
    --to=lionel-subscription@bouton.name \
    --cc=erik@slagter.name \
    --cc=gentoopower@yahoo.de \
    --cc=linux-ide@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).