Add conditional compilation for background processing
[yaffs2.git] / Kconfig
diff --git a/Kconfig b/Kconfig
index 6d3790e1f8dd7e732021bf64178aa22961a10cfa..8c218e3767ffaa1c080ce4e40116cb9a359f7214 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -175,6 +175,8 @@ config YAFFS_EMPTY_LOST_AND_FOUND
          If this is enabled then the contents of lost and found is
          automatically dumped at mount.
 
          If this is enabled then the contents of lost and found is
          automatically dumped at mount.
 
+         If unsure, say N.
+
 config YAFFS_DISABLE_BLOCK_REFRESHING
        bool "Disable yaffs2 block refreshing"
        depends on YAFFS_FS
 config YAFFS_DISABLE_BLOCK_REFRESHING
        bool "Disable yaffs2 block refreshing"
        depends on YAFFS_FS
@@ -184,3 +186,15 @@ config YAFFS_DISABLE_BLOCK_REFRESHING
         Block refreshing infrequently refreshes the oldest block in
         a yaffs2 file system. This mechanism helps to refresh flash to
         mitigate against data loss. This is particularly useful for MLC.
         Block refreshing infrequently refreshes the oldest block in
         a yaffs2 file system. This mechanism helps to refresh flash to
         mitigate against data loss. This is particularly useful for MLC.
+
+         If unsure, say N.
+
+config YAFFS_DISABLE_BACKGROUND
+       bool "Disable yaffs2 background processing"
+       depends on YAFFS_FS
+       default n
+       help
+        If this is set, then background processing is disabled.
+        Background processing makes many foreground activities faster.
+
+         If unsure, say N.