@@ -52,29 +52,34 @@ config BTRFS_FS_RUN_SANITY_TESTS
52
52
bool "Btrfs will run sanity tests upon loading"
53
53
depends on BTRFS_FS
54
54
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.
59
59
60
60
If unsure, say N.
61
61
62
62
config BTRFS_DEBUG
63
63
bool "Btrfs debugging support"
64
64
depends on BTRFS_FS
65
65
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.
69
72
70
73
If unsure, say N.
71
74
72
75
config BTRFS_ASSERT
73
76
bool "Btrfs assert support"
74
77
depends on BTRFS_FS
75
78
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.
78
83
79
84
If unsure, say N.
80
85
0 commit comments