1852eb3aeSDavid Sterba# SPDX-License-Identifier: GPL-2.0 2852eb3aeSDavid Sterba 3335debeeSAlexey Dobriyanconfig BTRFS_FS 4aa825914SDavid Sterba tristate "Btrfs filesystem support" 52c275afeSChristoph Hellwig select BLK_CGROUP_PUNT_BIO 6d5178578SJohannes Thumshirn select CRYPTO 7d5178578SJohannes Thumshirn select CRYPTO_CRC32C 8314c4cd6SYueHaibing select LIBCRC32C 93951e7f0SJohannes Thumshirn select CRYPTO_XXHASH 103831bf00SJohannes Thumshirn select CRYPTO_SHA256 1178f926f7SDavid Sterba select CRYPTO_BLAKE2B 12335debeeSAlexey Dobriyan select ZLIB_INFLATE 13335debeeSAlexey Dobriyan select ZLIB_DEFLATE 14a6fa6faeSLi Zefan select LZO_COMPRESS 15a6fa6faeSLi Zefan select LZO_DECOMPRESS 165c1aab1dSNick Terrell select ZSTD_COMPRESS 175c1aab1dSNick Terrell select ZSTD_DECOMPRESS 18f85781fbSGoldwyn Rodrigues select FS_IOMAP 1953b381b3SDavid Woodhouse select RAID6_PQ 2010e78e3aSTomasz Torcz select XOR_BLOCKS 21e9009095SNathan Chancellor depends on PAGE_SIZE_LESS_THAN_256KB 2253b381b3SDavid Woodhouse 23335debeeSAlexey Dobriyan help 244204617dSDavid Sterba Btrfs is a general purpose copy-on-write filesystem with extents, 254204617dSDavid Sterba writable snapshotting, support for multiple devices and many more 264204617dSDavid Sterba features focused on fault tolerance, repair and easy administration. 27335debeeSAlexey Dobriyan 284204617dSDavid Sterba The filesystem disk format is no longer unstable, and it's not 294204617dSDavid Sterba expected to change unless there are strong reasons to do so. If there 304204617dSDavid Sterba is a format change, file systems with a unchanged format will 314204617dSDavid Sterba continue to be mountable and usable by newer kernels. 324204617dSDavid Sterba 334204617dSDavid Sterba For more information, please see the web pages at 345facccc9SBhaskar Chowdhury https://btrfs.readthedocs.io 35335debeeSAlexey Dobriyan 36335debeeSAlexey Dobriyan To compile this file system support as a module, choose M here. The 37335debeeSAlexey Dobriyan module will be called btrfs. 38335debeeSAlexey Dobriyan 39335debeeSAlexey Dobriyan If unsure, say N. 40bef62ef3SChristian Hesse 41bef62ef3SChristian Hesseconfig BTRFS_FS_POSIX_ACL 42bef62ef3SChristian Hesse bool "Btrfs POSIX Access Control Lists" 43bef62ef3SChristian Hesse depends on BTRFS_FS 44bef62ef3SChristian Hesse select FS_POSIX_ACL 45bef62ef3SChristian Hesse help 46bef62ef3SChristian Hesse POSIX Access Control Lists (ACLs) support permissions for users and 47bef62ef3SChristian Hesse groups beyond the owner/group/world scheme. 48bef62ef3SChristian Hesse 49bef62ef3SChristian Hesse If you don't know what Access Control Lists are, say N 50c975dd46SStefan Behrens 5174255aa0SJosef Bacikconfig BTRFS_FS_RUN_SANITY_TESTS 5274255aa0SJosef Bacik bool "Btrfs will run sanity tests upon loading" 5374255aa0SJosef Bacik depends on BTRFS_FS 5474255aa0SJosef Bacik help 5574255aa0SJosef Bacik This will run some basic sanity tests on the free space cache 5674255aa0SJosef Bacik code to make sure it is acting as it should. These are mostly 57a26a8746SMichael Witten regression tests and are only really interesting to btrfs 58a26a8746SMichael Witten developers. 5974255aa0SJosef Bacik 6074255aa0SJosef Bacik If unsure, say N. 6174255aa0SJosef Bacik 626d49ba1bSEric Sandeenconfig BTRFS_DEBUG 636d49ba1bSEric Sandeen bool "Btrfs debugging support" 646d49ba1bSEric Sandeen depends on BTRFS_FS 656d49ba1bSEric Sandeen help 666d49ba1bSEric Sandeen Enable run-time debugging support for the btrfs filesystem. This may 676d49ba1bSEric Sandeen enable additional and expensive checks with negative impact on 686d49ba1bSEric Sandeen performance, or export extra information via sysfs. 696d49ba1bSEric Sandeen 706d49ba1bSEric Sandeen If unsure, say N. 712e17c7c6SJosef Bacik 722e17c7c6SJosef Bacikconfig BTRFS_ASSERT 732e17c7c6SJosef Bacik bool "Btrfs assert support" 742e17c7c6SJosef Bacik depends on BTRFS_FS 752e17c7c6SJosef Bacik help 762e17c7c6SJosef Bacik Enable run-time assertion checking. This will result in panics if 772e17c7c6SJosef Bacik any of the assertions trip. This is meant for btrfs developers only. 782e17c7c6SJosef Bacik 792e17c7c6SJosef Bacik If unsure, say N. 80fd708b81SJosef Bacik 81*67cd3f22SQu Wenruoconfig BTRFS_EXPERIMENTAL 82*67cd3f22SQu Wenruo bool "Btrfs experimental features" 83*67cd3f22SQu Wenruo depends on BTRFS_FS 84*67cd3f22SQu Wenruo default n 85*67cd3f22SQu Wenruo help 86*67cd3f22SQu Wenruo Enable experimental features. These features may not be stable enough 87*67cd3f22SQu Wenruo for end users. This is meant for btrfs developers or users who wish 88*67cd3f22SQu Wenruo to test the functionality and report problems. 89*67cd3f22SQu Wenruo 90*67cd3f22SQu Wenruo Current list: 91*67cd3f22SQu Wenruo 92*67cd3f22SQu Wenruo - extent map shrinker - performance problems with too frequent shrinks 93*67cd3f22SQu Wenruo 94*67cd3f22SQu Wenruo - send stream protocol v3 - fs-verity support 95*67cd3f22SQu Wenruo 96*67cd3f22SQu Wenruo - checksum offload mode - sysfs knob to affect when checksums are 97*67cd3f22SQu Wenruo calculated (at IO time, or in a thread) 98*67cd3f22SQu Wenruo 99*67cd3f22SQu Wenruo - raid-stripe-tree - additional mapping of extents to devices to 100*67cd3f22SQu Wenruo support RAID1* profiles on zoned devices, 101*67cd3f22SQu Wenruo RAID56 not yet supported 102*67cd3f22SQu Wenruo 103*67cd3f22SQu Wenruo - extent tree v2 - complex rework of extent tracking 104*67cd3f22SQu Wenruo 105*67cd3f22SQu Wenruo If unsure, say N. 106*67cd3f22SQu Wenruo 107fd708b81SJosef Bacikconfig BTRFS_FS_REF_VERIFY 108fd708b81SJosef Bacik bool "Btrfs with the ref verify tool compiled in" 109fd708b81SJosef Bacik depends on BTRFS_FS 110fd708b81SJosef Bacik default n 111fd708b81SJosef Bacik help 112fd708b81SJosef Bacik Enable run-time extent reference verification instrumentation. This 113fd708b81SJosef Bacik is meant to be used by btrfs developers for tracking down extent 114fd708b81SJosef Bacik reference problems or verifying they didn't break something. 115fd708b81SJosef Bacik 116fd708b81SJosef Bacik If unsure, say N. 117