How to Sync properly ?
David Woodhouse
dwmw2 at infradead.org
Tue Jan 8 04:08:16 EST 2002
pallaire at gameloft.com said:
> Do you know any of the standard FS that will support sync ??
Linux has no way to signal to the block device driver that it should flush
the write cache - so _no_ Linux filesystem can get it right, even on
disc drives with write caches. It's just more obvious with the large write
cache on the mtdblock device, that's all.
Linux is broken. Unless Linux gets unbroken and starts to deal with block
devices having internal write caches, the only option you have is to
disable the caching completely.
> because for the moment the dirver for my ST falsh will only write 128k
> at a time ... I would have to change my hardware to use Intel Flash,
> to be able to use JFFS 1 or 2.
I thought you could write the ST flash in 8-byte chunks?
--
dwmw2
More information about the linux-mtd
mailing list