blob: 167e5dc7eadd7ce8dadf9866c0b8f1311494ee5a [file] [log] [blame]
Alexey Dobriyan335debe2009-01-22 10:27:30 +03001config BTRFS_FS
David Sterbaaa8259142013-03-19 11:50:59 +00002 tristate "Btrfs filesystem support"
Nikolay Borisov9678c542018-01-08 11:45:05 +02003 select LIBCRC32C
Alexey Dobriyan335debe2009-01-22 10:27:30 +03004 select ZLIB_INFLATE
5 select ZLIB_DEFLATE
Li Zefana6fa6fa2010-10-25 15:12:26 +08006 select LZO_COMPRESS
7 select LZO_DECOMPRESS
Nick Terrell5c1aab12017-08-09 19:39:02 -07008 select ZSTD_COMPRESS
9 select ZSTD_DECOMPRESS
David Woodhouse53b381b2013-01-29 18:40:14 -050010 select RAID6_PQ
Tomasz Torcz10e78e32013-02-05 09:38:53 -050011 select XOR_BLOCKS
Pranith Kumar83fe27e2014-12-05 11:24:45 -050012 select SRCU
David Woodhouse53b381b2013-01-29 18:40:14 -050013
Alexey Dobriyan335debe2009-01-22 10:27:30 +030014 help
David Sterba42046172013-11-20 14:32:34 +010015 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.
Alexey Dobriyan335debe2009-01-22 10:27:30 +030018
David Sterba42046172013-11-20 14:32:34 +010019 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.
Alexey Dobriyan335debe2009-01-22 10:27:30 +030026
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.
Christian Hessebef62ef2009-02-04 09:28:28 -050031
32config 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
Christian Hessebef62ef2009-02-04 09:28:28 -050040 If you don't know what Access Control Lists are, say N
Stefan Behrensc975dd42011-11-01 17:06:04 +010041
42config 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
Josef Bacik74255aa2013-03-15 09:47:08 -040060
61config 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
Michael Wittena26a8742013-08-14 09:59:45 +000067 regression tests and are only really interesting to btrfs
68 developers.
Josef Bacik74255aa2013-03-15 09:47:08 -040069
70 If unsure, say N.
71
Eric Sandeen6d49ba12013-04-22 16:12:31 +000072config 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.
Josef Bacik2e17c7c62013-08-26 16:53:15 -040081
82config 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.
Josef Bacikfd708b82017-09-29 15:43:50 -040090
91config 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.