[JFFS2] Add support for write-buffer verification.
commita6bc432e296dfa1f05d4b586ca5ca3085a2d42d7
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 11 Jul 2007 13:23:54 +0000 (11 14:23 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 11 Jul 2007 13:23:54 +0000 (11 14:23 +0100)
treedb51669fcc74686efb4c65f98938907d76202ffa
parentef53cb02ffee8ceb44ea75f778f77eace6b9c89a
[JFFS2] Add support for write-buffer verification.

We've seen some evil corruption issues, where the corruption seems to be
introduced after the JFFS2 crc32 is calculated but before the NAND
controller calculates the ECC. So it's in RAM or in the PCI DMA
transfer; not on the flash. Attempt to catch it earlier by (optionally)
reading back from the flash immediately after writing it.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/Kconfig
fs/jffs2/jffs2_fs_sb.h
fs/jffs2/wbuf.c