Btrfs: add some free space cache tests
[deliverable/linux.git] / fs / btrfs / Kconfig
index 9a8622a5b867e9c3d5183ab5ad0efe749a36887d..d5bfcb744fe56240b35e034768c54b6258d496dd 100644 (file)
@@ -52,3 +52,14 @@ config BTRFS_FS_CHECK_INTEGRITY
          In most cases, unless you are a btrfs developer who needs
          to verify the integrity of (super)-block write requests
          during the run of a regression test, say N
+
+config BTRFS_FS_RUN_SANITY_TESTS
+       bool "Btrfs will run sanity tests upon loading"
+       depends on BTRFS_FS
+       help
+         This will run some basic sanity tests on the free space cache
+         code to make sure it is acting as it should.  These are mostly
+         regression tests and are only really interesting to btrfs devlopers.
+
+         If unsure, say N.
+
This page took 0.029323 seconds and 5 git commands to generate.