GNU Linux-libre 4.14.251-gnu1
[releases.git] / fs / btrfs / Kconfig
1 config BTRFS_FS
2         tristate "Btrfs filesystem support"
3         select CRYPTO
4         select CRYPTO_CRC32C
5         select ZLIB_INFLATE
6         select ZLIB_DEFLATE
7         select LZO_COMPRESS
8         select LZO_DECOMPRESS
9         select ZSTD_COMPRESS
10         select ZSTD_DECOMPRESS
11         select RAID6_PQ
12         select XOR_BLOCKS
13         select SRCU
14         depends on !PPC_256K_PAGES      # powerpc
15         depends on !PAGE_SIZE_256KB     # hexagon
16
17         help
18           Btrfs is a general purpose copy-on-write filesystem with extents,
19           writable snapshotting, support for multiple devices and many more
20           features focused on fault tolerance, repair and easy administration.
21
22           The filesystem disk format is no longer unstable, and it's not
23           expected to change unless there are strong reasons to do so. If there
24           is a format change, file systems with a unchanged format will
25           continue to be mountable and usable by newer kernels.
26
27           For more information, please see the web pages at
28           http://btrfs.wiki.kernel.org.
29
30           To compile this file system support as a module, choose M here. The
31           module will be called btrfs.
32
33           If unsure, say N.
34
35 config BTRFS_FS_POSIX_ACL
36         bool "Btrfs POSIX Access Control Lists"
37         depends on BTRFS_FS
38         select FS_POSIX_ACL
39         help
40           POSIX Access Control Lists (ACLs) support permissions for users and
41           groups beyond the owner/group/world scheme.
42
43           To learn more about Access Control Lists, visit the POSIX ACLs for
44           Linux website <http://acl.bestbits.at/>.
45
46           If you don't know what Access Control Lists are, say N
47
48 config 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
66
67 config 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
73           regression tests and are only really interesting to btrfs
74           developers.
75
76           If unsure, say N.
77
78 config 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.
87
88 config 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.