diff options
-rw-r--r-- | fs/btrfs/Kconfig | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/fs/btrfs/Kconfig b/fs/btrfs/Kconfig index ecb9fd3be143..d33f01c08b60 100644 --- a/fs/btrfs/Kconfig +++ b/fs/btrfs/Kconfig | |||
@@ -31,3 +31,22 @@ config BTRFS_FS_POSIX_ACL | |||
31 | Linux website <http://acl.bestbits.at/>. | 31 | Linux website <http://acl.bestbits.at/>. |
32 | 32 | ||
33 | If you don't know what Access Control Lists are, say N | 33 | If you don't know what Access Control Lists are, say N |
34 | |||
35 | config BTRFS_FS_CHECK_INTEGRITY | ||
36 | bool "Btrfs with integrity check tool compiled in (DANGEROUS)" | ||
37 | depends on BTRFS_FS | ||
38 | help | ||
39 | Adds code that examines all block write requests (including | ||
40 | writes of the super block). The goal is to verify that the | ||
41 | state of the filesystem on disk is always consistent, i.e., | ||
42 | after a power-loss or kernel panic event the filesystem is | ||
43 | in a consistent state. | ||
44 | |||
45 | If the integrity check tool is included and activated in | ||
46 | the mount options, plenty of kernel memory is used, and | ||
47 | plenty of additional CPU cycles are spent. Enabling this | ||
48 | functionality is not intended for normal use. | ||
49 | |||
50 | In most cases, unless you are a btrfs developer who needs | ||
51 | to verify the integrity of (super)-block write requests | ||
52 | during the run of a regression test, say N | ||