diff options
author | David Woodhouse <dwmw2@infradead.org> | 2007-07-11 09:23:54 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-07-11 09:23:54 -0400 |
commit | a6bc432e296dfa1f05d4b586ca5ca3085a2d42d7 (patch) | |
tree | db51669fcc74686efb4c65f98938907d76202ffa /fs/Kconfig | |
parent | ef53cb02ffee8ceb44ea75f778f77eace6b9c89a (diff) |
[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>
Diffstat (limited to 'fs/Kconfig')
-rw-r--r-- | fs/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/Kconfig b/fs/Kconfig index e9c5b81dd665..e19423a2aa7d 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
@@ -1228,6 +1228,14 @@ config JFFS2_FS_WRITEBUFFER | |||
1228 | - NOR flash with transparent ECC | 1228 | - NOR flash with transparent ECC |
1229 | - DataFlash | 1229 | - DataFlash |
1230 | 1230 | ||
1231 | config JFFS2_FS_WBUF_VERIFY | ||
1232 | bool "Verify JFFS2 write-buffer reads" | ||
1233 | depends on JFFS2_FS_WRITEBUFFER | ||
1234 | default n | ||
1235 | help | ||
1236 | This causes JFFS2 to read back every page written through the | ||
1237 | write-buffer, and check for errors. | ||
1238 | |||
1231 | config JFFS2_SUMMARY | 1239 | config JFFS2_SUMMARY |
1232 | bool "JFFS2 summary support (EXPERIMENTAL)" | 1240 | bool "JFFS2 summary support (EXPERIMENTAL)" |
1233 | depends on JFFS2_FS && EXPERIMENTAL | 1241 | depends on JFFS2_FS && EXPERIMENTAL |