data loss on jffs2 filesystem on dataflash

Artem B. Bityuckiy dedekind at yandex.ru
Thu Sep 15 03:49:34 EDT 2005


Peter Menzebach wrote:
> 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)
> 
Ah!
What's your erasesize?

I'll fix this.

-- 
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.




More information about the linux-mtd mailing list