Handling of write failure on NAND
ahgu
ahgu at ahgu.homeunix.com
Tue Aug 30 11:18:56 EDT 2005
Does JFFS2 have support on write failure handling for NAND flash. When a
write or verification after write fails, does it find a new block and copy
all data into the new block, and mark the original block as bad block? I
only see that the bad_list is used during scanning and erase. I saw someone
added a retry in the write function, but that is just writing to the same
block. The ofs returned by jffs2_reserve_space stays the same.
It is calling the BUGS() and halt the kernel when the write fails.
-Andrew
More information about the linux-mtd
mailing list