linux/drivers/mtd
Adrian Hunter 67e5a28b35 [MTD] [OneNAND] Allow for controller errors when reading
A power loss while writing can result in a page becoming unreadable.  
When the device is mounted again, reading that page gives controller 
errors. Upper level software like JFFS2 treat -EIO as fatal, refusing to 
mount at all.  That means it is necessary to treat the error as an ECC 
error to allow recovery. Note that typically in this case, the 
eraseblock can still be erased and rewritten i.e. it has not become a 
bad block.

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2008-04-22 21:26:16 +01:00
..
chips [MTD] [NOR] Fixup for incorrect CFI data in Spansion S29GL064/32N flash chips 2008-04-22 21:17:27 +01:00
devices [MTD] mtdram.c should #include <linux/mtd/mtdram.h> 2008-04-22 15:55:07 +01:00
maps [MTD] [MAPS] omap_nor section fixes 2008-04-22 21:24:00 +01:00
nand [MTD] [NAND] fsl_elbc_nand: workaround for hangs during nand write 2008-04-22 21:13:53 +01:00
onenand [MTD] [OneNAND] Allow for controller errors when reading 2008-04-22 21:26:16 +01:00
ubi [MTD] replace remaining __FUNCTION__ occurrences 2008-04-22 12:36:04 +01:00
afs.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
ar7part.c [MTD] AR7 mtd partition map 2008-04-22 20:48:12 +01:00
cmdlinepart.c [MTD] cmdlinepart: Missing partition info is not an error 2008-04-22 19:10:15 +01:00
ftl.c [MTD] ftl.c: make code static 2008-04-22 15:56:00 +01:00
inftlcore.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
inftlmount.c [MTD] proper prototypes for inftl_{read,write}_oob() 2008-04-22 15:54:16 +01:00
Kconfig [MTD] AR7 mtd partition map 2008-04-22 20:48:12 +01:00
Makefile [MTD] AR7 mtd partition map 2008-04-22 20:48:12 +01:00
mtd_blkdevs.c [MTD] Always initialise mutex in new mtd_blktrans_dev. 2007-12-03 12:46:12 +00:00
mtdblock_ro.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
mtdblock.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
mtdchar.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 2008-02-03 18:30:32 +11:00
mtdconcat.c [MTD] fix mtdconcat for subpage-write NAND 2007-10-14 13:38:02 +01:00
mtdcore.c [MTD] Unlocking all Intel flash that is locked on power up. 2008-02-03 18:25:16 +11:00
mtdcore.h [MTD] mtdcore.c: share syms with mtd_blkdev.c 2007-06-28 20:24:50 +01:00
mtdoops.c [MTD] mtdoops.c: make struct oops_cxt static again 2008-04-22 12:35:34 +01:00
mtdpart.c [MTD] Add mtd panic_write function pointer 2008-02-07 10:30:48 +00:00
mtdsuper.c Introduce path_put() 2008-02-14 21:13:33 -08:00
nftlcore.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
nftlmount.c [MTD] proper prototypes for nftl_{read,write}_oob() 2008-04-22 15:54:29 +01:00
ofpart.c [MTD] mtd/ofpart.c: add MODULE_LICENSE 2008-04-22 15:53:52 +01:00
redboot.c [MTD] Skip bad blocks when checking for RedBoot partition table 2007-10-28 21:57:02 -04:00
rfd_ftl.c [MTD] make struct rfd_ftl_tr static 2008-04-22 15:59:25 +01:00
ssfdc.c [MTD] Fix ssfdc blksize typo 2006-12-11 09:43:38 +00:00