Skip to contentSkip to conversation

slow sync of fat 32 hotplugged devices

DISCUSSION Bodo Eggert 1 participant 1 message Dec 16, 2005 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 4 lines · Patrick Fritzsch

It seems that the hal daemon mounts a usbstick in fat32 mode, where default the sync option ist on. Actually this is a nice behaviour, because a cp to the stick should last so long until the file was completly written.

[...]

Quoted 5 lines

I guess that the kernel checks after every block of the file, which is written, if the stick has really written it, which leads to such a big slowdown. There are already lots of comments of this in the web, where the solution is always to disable the sync mode in the hal daemon device files.

The situation is worse: It will update the FAT each time a block is written. Therefore the FAT area will wear out very quickly.

Quoted 4 lines

Wouldnt it be a nice behaviour, if you could mount a file in a new sync mode, where it isnt synchronized during writing a file, only when a close ioctl command was executed on a filehandle?
sync writing to hotplugged devices would be a lot faster then.

IMO it should sync on committed dentry updates, too.

Signature · 2 lines
Ich danke GMX dafür, die Verwendung meiner Adressen mittels per SPF
verbreiteten Lügen zu sabotieren.