@@ -52,29 +52,34 @@ config BTRFS_FS_RUN_SANITY_TESTS
5252 bool "Btrfs will run sanity tests upon loading"
5353 depends on BTRFS_FS
5454 help
55- This will run some basic sanity tests on the free space cache
56- code to make sure it is acting as it should. These are mostly
57- regression tests and are only really interesting to btrfs
58- developers.
55+ This will run sanity tests for core functionality like free space,
56+ extent maps, extent io, extent buffers, inodes, qgroups and others,
57+ at module load time. These are mostly regression tests and are only
58+ interesting to developers.
5959
6060 If unsure, say N.
6161
6262config BTRFS_DEBUG
6363 bool "Btrfs debugging support"
6464 depends on BTRFS_FS
6565 help
66- Enable run-time debugging support for the btrfs filesystem. This may
67- enable additional and expensive checks with negative impact on
68- performance, or export extra information via sysfs.
66+ Enable run-time debugging support for the btrfs filesystem.
67+
68+ Additional potentially expensive checks, debugging functionality or
69+ sysfs exported information is enabled, like leak checks of internal
70+ objects, optional forced space fragmentation and /sys/fs/btrfs/debug .
71+ This has negative impact on performance.
6972
7073 If unsure, say N.
7174
7275config BTRFS_ASSERT
7376 bool "Btrfs assert support"
7477 depends on BTRFS_FS
7578 help
76- Enable run-time assertion checking. This will result in panics if
77- any of the assertions trip. This is meant for btrfs developers only.
79+ Enable run-time assertion checking. Additional safety checks are
80+ done, simple enough not to affect performance but verify invariants
81+ and assumptions of code to run properly. This may result in panics,
82+ and is meant for developers but can be enabled in general.
7883
7984 If unsure, say N.
8085
0 commit comments