JFFS2 as transactional FS (in other words: how to be sure that data have been writtent correctly from userspace)

David Woodhouse dwmw2 at infradead.org
Thu Mar 8 08:04:04 EST 2007


On Thu, 2007-03-08 at 13:54 +0100, Jörn Engel wrote:
> 
> Last time I checked, JFFS2 got one case wrong.  Don't remember which
> one,
> but there are not that many to check:
>  - mount -o sync
>  - open(..., O_SYNC);

I don't think we've implemented those two at all.

>  - fsync()
>  - sync()

These two should work.

> [ Side note - NOR flash can still have a write buffer and require
> explicit sync. ]

True. For 'NOR' read 'flash without wbuf' and for 'NAND' read 'flash
with wbuf'.

-- 
dwmw2





More information about the linux-mtd mailing list