Alexey Dobriyan | 335debe | 2009-01-22 10:27:30 +0300 | [diff] [blame] | 1 | config BTRFS_FS |
David Sterba | aa825914 | 2013-03-19 11:50:59 +0000 | [diff] [blame] | 2 | tristate "Btrfs filesystem support" |
Filipe David Borba Manana | 14a958e | 2014-01-12 02:22:46 +0000 | [diff] [blame] | 3 | select CRYPTO |
| 4 | select CRYPTO_CRC32C |
Alexey Dobriyan | 335debe | 2009-01-22 10:27:30 +0300 | [diff] [blame] | 5 | select ZLIB_INFLATE |
| 6 | select ZLIB_DEFLATE |
Li Zefan | a6fa6fa | 2010-10-25 15:12:26 +0800 | [diff] [blame] | 7 | select LZO_COMPRESS |
| 8 | select LZO_DECOMPRESS |
Nick Terrell | 5c1aab1 | 2017-08-09 19:39:02 -0700 | [diff] [blame] | 9 | select ZSTD_COMPRESS |
| 10 | select ZSTD_DECOMPRESS |
David Woodhouse | 53b381b | 2013-01-29 18:40:14 -0500 | [diff] [blame] | 11 | select RAID6_PQ |
Tomasz Torcz | 10e78e3 | 2013-02-05 09:38:53 -0500 | [diff] [blame] | 12 | select XOR_BLOCKS |
Pranith Kumar | 83fe27e | 2014-12-05 11:24:45 -0500 | [diff] [blame] | 13 | select SRCU |
Christophe Leroy | b127c17 | 2021-06-10 05:23:02 +0000 | [diff] [blame] | 14 | depends on !PPC_256K_PAGES # powerpc |
| 15 | depends on !PAGE_SIZE_256KB # hexagon |
David Woodhouse | 53b381b | 2013-01-29 18:40:14 -0500 | [diff] [blame] | 16 | |
Alexey Dobriyan | 335debe | 2009-01-22 10:27:30 +0300 | [diff] [blame] | 17 | help |
David Sterba | 4204617 | 2013-11-20 14:32:34 +0100 | [diff] [blame] | 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. |
Alexey Dobriyan | 335debe | 2009-01-22 10:27:30 +0300 | [diff] [blame] | 21 | |
David Sterba | 4204617 | 2013-11-20 14:32:34 +0100 | [diff] [blame] | 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. |
Alexey Dobriyan | 335debe | 2009-01-22 10:27:30 +0300 | [diff] [blame] | 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. |
Christian Hesse | bef62ef | 2009-02-04 09:28:28 -0500 | [diff] [blame] | 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 |
Stefan Behrens | c975dd4 | 2011-11-01 17:06:04 +0100 | [diff] [blame] | 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 |
Josef Bacik | 74255aa | 2013-03-15 09:47:08 -0400 | [diff] [blame] | 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 |
Michael Witten | a26a874 | 2013-08-14 09:59:45 +0000 | [diff] [blame] | 73 | regression tests and are only really interesting to btrfs |
| 74 | developers. |
Josef Bacik | 74255aa | 2013-03-15 09:47:08 -0400 | [diff] [blame] | 75 | |
| 76 | If unsure, say N. |
| 77 | |
Eric Sandeen | 6d49ba1 | 2013-04-22 16:12:31 +0000 | [diff] [blame] | 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. |
Josef Bacik | 2e17c7c | 2013-08-26 16:53:15 -0400 | [diff] [blame] | 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. |