A problem in JFFS2 code about ECC'd NOR flash

赵 豆豆 zhao_fusheng at hotmail.com
Wed Jul 20 04:28:09 EDT 2005


For ECC'd NOR flash, the clean marker is written by
jffs2_flash_direct_writev() in jffs2_mark_erased_block().
Then the first 16 bytes of first page is filled with
clean marker. But wbuf know nothing about this 16 bytes.
So subsequent jffs2_flash_writev() will have problem. In
particular jffs2_flash_writev() will write the first page
for the second time.
Am I right? Or can this be confirmed by the JFFS2 developer?


与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  

More information about the linux-mtd mailing list