data loss on jffs2 filesystem on dataflash
Peter Menzebach
pm-mtd at mw-itcon.de
Thu Sep 15 03:39:08 EDT 2005
Thanks for your help!
I found (at least partly) out, whats happening: Some parts of code are
relying still on the assumption, that the erase size/sector size is
fixed to a power of 2.
Example nodelist.c:
len = ofs & (c->wbuf_pagesize - 1)
So the jffs2 code is broken, if it *should* support erase sizes which
are not 2^X.
Best regards
Peter
--
Peter Menzebach
Menzebach und Wolff IT-Consulting GbR
Phone +49 751 355 387 1
More information about the linux-mtd
mailing list