mtd/fs/jffs2 erase.c,1.84,1.85 roll back
Jörn Engel
joern at wohnheim.fh-wedel.de
Sun Sep 25 08:54:55 EDT 2005
On Fri, 23 September 2005 17:22:53 +0200, Anders Grafstrom wrote:
>
> jffs2 makes a second try if a failed erase is reported by the mtd
> driver. But only for NAND (in jffs2_write_nand_badblock()). What I'm
> after is a retry for NOR as well. But I wrote the patch so it would
> retry for other cases of failure too.
Is a retry really an improvement? When a block cannot be properly
erased on the first try, I would not trust it anymore. Instead of a
retry, I'd rather mark it as a bad block and not touch it again.
Jörn
--
When you close your hand, you own nothing. When you open it up, you
own the whole world.
-- Li Mu Bai in Tiger & Dragon
More information about the linux-mtd
mailing list