Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / fs / btrfs / Kconfig
CommitLineData
852eb3ae
DS
1# SPDX-License-Identifier: GPL-2.0
2
335debee 3config BTRFS_FS
aa825914 4 tristate "Btrfs filesystem support"
d5178578
JT
5 select CRYPTO
6 select CRYPTO_CRC32C
314c4cd6 7 select LIBCRC32C
3951e7f0 8 select CRYPTO_XXHASH
3831bf00 9 select CRYPTO_SHA256
335debee
AD
10 select ZLIB_INFLATE
11 select ZLIB_DEFLATE
a6fa6fae
LZ
12 select LZO_COMPRESS
13 select LZO_DECOMPRESS
5c1aab1d
NT
14 select ZSTD_COMPRESS
15 select ZSTD_DECOMPRESS
53b381b3 16 select RAID6_PQ
10e78e3a 17 select XOR_BLOCKS
83fe27ea 18 select SRCU
53b381b3 19
335debee 20 help
4204617d
DS
21 Btrfs is a general purpose copy-on-write filesystem with extents,
22 writable snapshotting, support for multiple devices and many more
23 features focused on fault tolerance, repair and easy administration.
335debee 24
4204617d
DS
25 The filesystem disk format is no longer unstable, and it's not
26 expected to change unless there are strong reasons to do so. If there
27 is a format change, file systems with a unchanged format will
28 continue to be mountable and usable by newer kernels.
29
30 For more information, please see the web pages at
31 http://btrfs.wiki.kernel.org.
335debee
AD
32
33 To compile this file system support as a module, choose M here. The
34 module will be called btrfs.
35
36 If unsure, say N.
bef62ef3
CH
37
38config BTRFS_FS_POSIX_ACL
39 bool "Btrfs POSIX Access Control Lists"
40 depends on BTRFS_FS
41 select FS_POSIX_ACL
42 help
43 POSIX Access Control Lists (ACLs) support permissions for users and
44 groups beyond the owner/group/world scheme.
45
bef62ef3 46 If you don't know what Access Control Lists are, say N
c975dd46
SB
47
48config BTRFS_FS_CHECK_INTEGRITY
49 bool "Btrfs with integrity check tool compiled in (DANGEROUS)"
50 depends on BTRFS_FS
51 help
52 Adds code that examines all block write requests (including
53 writes of the super block). The goal is to verify that the
54 state of the filesystem on disk is always consistent, i.e.,
55 after a power-loss or kernel panic event the filesystem is
56 in a consistent state.
57
58 If the integrity check tool is included and activated in
59 the mount options, plenty of kernel memory is used, and
60 plenty of additional CPU cycles are spent. Enabling this
61 functionality is not intended for normal use.
62
63 In most cases, unless you are a btrfs developer who needs
64 to verify the integrity of (super)-block write requests
65 during the run of a regression test, say N
74255aa0
JB
66
67config BTRFS_FS_RUN_SANITY_TESTS
68 bool "Btrfs will run sanity tests upon loading"
69 depends on BTRFS_FS
70 help
71 This will run some basic sanity tests on the free space cache
72 code to make sure it is acting as it should. These are mostly
a26a8746
MW
73 regression tests and are only really interesting to btrfs
74 developers.
74255aa0
JB
75
76 If unsure, say N.
77
6d49ba1b
ES
78config BTRFS_DEBUG
79 bool "Btrfs debugging support"
80 depends on BTRFS_FS
81 help
82 Enable run-time debugging support for the btrfs filesystem. This may
83 enable additional and expensive checks with negative impact on
84 performance, or export extra information via sysfs.
85
86 If unsure, say N.
2e17c7c6
JB
87
88config BTRFS_ASSERT
89 bool "Btrfs assert support"
90 depends on BTRFS_FS
91 help
92 Enable run-time assertion checking. This will result in panics if
93 any of the assertions trip. This is meant for btrfs developers only.
94
95 If unsure, say N.
fd708b81
JB
96
97config BTRFS_FS_REF_VERIFY
98 bool "Btrfs with the ref verify tool compiled in"
99 depends on BTRFS_FS
100 default n
101 help
102 Enable run-time extent reference verification instrumentation. This
103 is meant to be used by btrfs developers for tracking down extent
104 reference problems or verifying they didn't break something.
105
106 If unsure, say N.