blob: 9dd07eb884550ad47b08ea97eeecdace013014bf [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"
Filipe David Borba Manana14a958e2014-01-12 02:22:46 +00003 select CRYPTO
4 select CRYPTO_CRC32C
Alexey Dobriyan335debe2009-01-22 10:27:30 +03005 select ZLIB_INFLATE
6 select ZLIB_DEFLATE
Li Zefana6fa6fa2010-10-25 15:12:26 +08007 select LZO_COMPRESS
8 select LZO_DECOMPRESS
Nick Terrell5c1aab12017-08-09 19:39:02 -07009 select ZSTD_COMPRESS
10 select ZSTD_DECOMPRESS
David Woodhouse53b381b2013-01-29 18:40:14 -050011 select RAID6_PQ
Tomasz Torcz10e78e32013-02-05 09:38:53 -050012 select XOR_BLOCKS
Pranith Kumar83fe27e2014-12-05 11:24:45 -050013 select SRCU
Christophe Leroyb127c172021-06-10 05:23:02 +000014 depends on !PPC_256K_PAGES # powerpc
15 depends on !PAGE_SIZE_256KB # hexagon
David Woodhouse53b381b2013-01-29 18:40:14 -050016
Alexey Dobriyan335debe2009-01-22 10:27:30 +030017 help
David Sterba42046172013-11-20 14:32:34 +010018 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.
Alexey Dobriyan335debe2009-01-22 10:27:30 +030021
David Sterba42046172013-11-20 14:32:34 +010022 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.
Alexey Dobriyan335debe2009-01-22 10:27:30 +030029
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.
Christian Hessebef62ef2009-02-04 09:28:28 -050034
35config 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
Stefan Behrensc975dd42011-11-01 17:06:04 +010047
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
Josef Bacik74255aa2013-03-15 09:47:08 -040066
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
Michael Wittena26a8742013-08-14 09:59:45 +000073 regression tests and are only really interesting to btrfs
74 developers.
Josef Bacik74255aa2013-03-15 09:47:08 -040075
76 If unsure, say N.
77
Eric Sandeen6d49ba12013-04-22 16:12:31 +000078config 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.
Josef Bacik2e17c7c2013-08-26 16:53:15 -040087
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.