Mercurial > yaffs-ecoscentric-gpl
diff moduleconfig.h @ 418:ff48885b11fb
yaffs: Improve debug chunk erased checking, change refreshPeriod
Normalise macro to YAFFS_CONFIG_ALWAYS_CHECK_CHUNK_ERASED.
This reduces performance so output kernel message warning this is enabled.
Change refreshPeriod to make it much slower.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
| author | Charles Manning <cdhmanning@gmail.com> |
|---|---|
| date | Thu, 29 Apr 2010 13:40:28 +1200 |
| parents | b5309c9b6d7f |
| children |
line wrap: on
line diff
--- a/moduleconfig.h +++ b/moduleconfig.h @@ -38,9 +38,10 @@ /* CONFIG_YAFFS_DOES_ECC is set */ /* #define CONFIG_YAFFS_ECC_WRONG_ORDER */ -/* Default: Selected */ -/* Meaning: Disables testing whether chunks are erased before writing to them*/ -#define CONFIG_YAFFS_DISABLE_CHUNK_ERASED_CHECK +/* Default: Not selected */ +/* Meaning: Always test whether chunks are erased before writing to them. + Use during mtd debugging and init. */ +/* #define CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED */ /* Default: Not Selected */ /* Meaning: At mount automatically empty all files from lost and found. */
