Re: slow sync of fat 32 hotplugged devices

From: Andrew Morton
Date: Sat Dec 17 2005 - 15:38:25 EST


Patrick Fritzsch <fritzsch@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> 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.

Yeah, this was discussed recently: `mount -o flush'. It'll sync each file
on the final close(). I forget who was doing that, but it's gone quiet
lately.

It's not completely trivial - some work in each fs will be needed to check
that we sync everything which should be sunc. Such as the superblock...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/