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