public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Handling of write failure on NAND
@ 2005-08-30 15:18 ahgu
  0 siblings, 0 replies; only message in thread
From: ahgu @ 2005-08-30 15:18 UTC (permalink / raw)
  To: linux-mtd

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 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-30 15:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-30 15:18 Handling of write failure on NAND ahgu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox