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