yaffs: Improve debug chunk erased checking, change refreshPeriod
[yaffs2.git] / yaffs_fs.c
index 07ff66e13e9c965b842b47459df59d2d27dca369..6eb356c81e6e4276c0ca88813e7b83082b788bd9 100644 (file)
@@ -2648,7 +2648,7 @@ static struct super_block *yaffs_internal_read_super(int yaffsVersion,
 #ifdef CONFIG_YAFFS_DISABLE_BLOCK_REFRESHING
        param->refreshPeriod = 0;
 #else
 #ifdef CONFIG_YAFFS_DISABLE_BLOCK_REFRESHING
        param->refreshPeriod = 0;
 #else
-       param->refreshPeriod = 100;
+       param->refreshPeriod = 500;
 #endif
 
        if(options.empty_lost_and_found_overridden)
 #endif
 
        if(options.empty_lost_and_found_overridden)
@@ -3178,6 +3178,14 @@ static int __init init_yaffs_fs(void)
        T(YAFFS_TRACE_ALWAYS,
          (TSTR("yaffs built " __DATE__ " " __TIME__ " Installing. \n")));
 
        T(YAFFS_TRACE_ALWAYS,
          (TSTR("yaffs built " __DATE__ " " __TIME__ " Installing. \n")));
 
+#ifdef CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED
+       T(YAFFS_TRACE_ALWAYS,
+         (TSTR(" \n\n\n\nYAFFS-WARNING CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED selected.\n\n\n\n")));
+#endif
+
+
+
+
        init_MUTEX(&yaffs_context_lock);
 
        /* Install the proc_fs entries */
        init_MUTEX(&yaffs_context_lock);
 
        /* Install the proc_fs entries */