blob: 4fb925e8c981d8f4fcf6ab61d72475c1ec68fb4c [file] [log] [blame]
David Sterba852eb3a2018-04-03 19:23:33 +02001# SPDX-License-Identifier: GPL-2.0
2
Alexey Dobriyan335debe2009-01-22 10:27:30 +03003config BTRFS_FS
David Sterbaaa8259142013-03-19 11:50:59 +00004 tristate "Btrfs filesystem support"
Christoph Hellwig2c275af2023-03-27 09:49:53 +09005 select BLK_CGROUP_PUNT_BIO
Johannes Thumshirnd5178572019-06-03 16:58:57 +02006 select CRYPTO
7 select CRYPTO_CRC32C
YueHaibing314c4cd2019-07-02 22:39:03 +08008 select LIBCRC32C
Johannes Thumshirn3951e7f2019-10-07 11:11:01 +02009 select CRYPTO_XXHASH
Johannes Thumshirn3831bf02019-10-07 11:11:02 +020010 select CRYPTO_SHA256
David Sterba78f926f2019-11-28 13:02:32 +010011 select CRYPTO_BLAKE2B
Alexey Dobriyan335debe2009-01-22 10:27:30 +030012 select ZLIB_INFLATE
13 select ZLIB_DEFLATE
Li Zefana6fa6fa2010-10-25 15:12:26 +080014 select LZO_COMPRESS
15 select LZO_DECOMPRESS
Nick Terrell5c1aab12017-08-09 19:39:02 -070016 select ZSTD_COMPRESS
17 select ZSTD_DECOMPRESS
Goldwyn Rodriguesf85781f2020-08-17 11:18:21 -050018 select FS_IOMAP
David Woodhouse53b381b2013-01-29 18:40:14 -050019 select RAID6_PQ
Tomasz Torcz10e78e32013-02-05 09:38:53 -050020 select XOR_BLOCKS
Nathan Chancellore9009092022-01-19 18:10:25 -080021 depends on PAGE_SIZE_LESS_THAN_256KB
David Woodhouse53b381b2013-01-29 18:40:14 -050022
Alexey Dobriyan335debe2009-01-22 10:27:30 +030023 help
David Sterba42046172013-11-20 14:32:34 +010024 Btrfs is a general purpose copy-on-write filesystem with extents,
25 writable snapshotting, support for multiple devices and many more
26 features focused on fault tolerance, repair and easy administration.
Alexey Dobriyan335debe2009-01-22 10:27:30 +030027
David Sterba42046172013-11-20 14:32:34 +010028 The filesystem disk format is no longer unstable, and it's not
29 expected to change unless there are strong reasons to do so. If there
30 is a format change, file systems with a unchanged format will
31 continue to be mountable and usable by newer kernels.
32
33 For more information, please see the web pages at
Bhaskar Chowdhury5facccc2023-08-23 03:17:47 +053034 https://btrfs.readthedocs.io
Alexey Dobriyan335debe2009-01-22 10:27:30 +030035
36 To compile this file system support as a module, choose M here. The
37 module will be called btrfs.
38
39 If unsure, say N.
Christian Hessebef62ef2009-02-04 09:28:28 -050040
41config BTRFS_FS_POSIX_ACL
42 bool "Btrfs POSIX Access Control Lists"
43 depends on BTRFS_FS
44 select FS_POSIX_ACL
45 help
46 POSIX Access Control Lists (ACLs) support permissions for users and
47 groups beyond the owner/group/world scheme.
48
Christian Hessebef62ef2009-02-04 09:28:28 -050049 If you don't know what Access Control Lists are, say N
Stefan Behrensc975dd42011-11-01 17:06:04 +010050
Josef Bacik74255aa2013-03-15 09:47:08 -040051config BTRFS_FS_RUN_SANITY_TESTS
52 bool "Btrfs will run sanity tests upon loading"
53 depends on BTRFS_FS
54 help
55 This will run some basic sanity tests on the free space cache
56 code to make sure it is acting as it should. These are mostly
Michael Wittena26a8742013-08-14 09:59:45 +000057 regression tests and are only really interesting to btrfs
58 developers.
Josef Bacik74255aa2013-03-15 09:47:08 -040059
60 If unsure, say N.
61
Eric Sandeen6d49ba12013-04-22 16:12:31 +000062config BTRFS_DEBUG
63 bool "Btrfs debugging support"
64 depends on BTRFS_FS
65 help
66 Enable run-time debugging support for the btrfs filesystem. This may
67 enable additional and expensive checks with negative impact on
68 performance, or export extra information via sysfs.
69
70 If unsure, say N.
Josef Bacik2e17c7c62013-08-26 16:53:15 -040071
72config BTRFS_ASSERT
73 bool "Btrfs assert support"
74 depends on BTRFS_FS
75 help
76 Enable run-time assertion checking. This will result in panics if
77 any of the assertions trip. This is meant for btrfs developers only.
78
79 If unsure, say N.
Josef Bacikfd708b82017-09-29 15:43:50 -040080
81config BTRFS_FS_REF_VERIFY
82 bool "Btrfs with the ref verify tool compiled in"
83 depends on BTRFS_FS
84 default n
85 help
86 Enable run-time extent reference verification instrumentation. This
87 is meant to be used by btrfs developers for tracking down extent
88 reference problems or verifying they didn't break something.
89
90 If unsure, say N.