summaryrefslogtreecommitdiff
path: root/moduleconfig.h
diff options
context:
space:
mode:
authorCharles Manning <cdhmanning@gmail.com>2010-04-29 13:40:28 +1200
committerCharles Manning <cdhmanning@gmail.com>2010-04-29 13:40:28 +1200
commit6db5aca55acb7c8af07c8ec90ba8dd9085ab0895 (patch)
tree672d7215bc2a41c12167f605bde3c50188623d91 /moduleconfig.h
parentf2aa39bdf4996729001cb2a6e98d34eda832b9be (diff)
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>
Diffstat (limited to 'moduleconfig.h')
-rw-r--r--moduleconfig.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/moduleconfig.h b/moduleconfig.h
index 89eeec8..e8efd67 100644
--- 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. */