CONFIG_BTRFS_FS Btrfs filesystem support
- Off
- Module
- Built in
Btrfs is a general purpose copy-on-write filesystem with extents, writable snapshotting, support for multiple devices and many more features focused on fault tolerance, repair and easy administration.
The filesystem disk format is no longer unstable, and it's not expected to change unless there are strong reasons to do so. If there is a format change, file systems with a unchanged format will continue to be mountable and usable by newer kernels.
For more information, please see the web pages at https://btrfs.readthedocs.io
To compile this file system support as a module, choose M here. The module will be called btrfs.
If unsure, say N.
- Depends on
BLOCK && PAGE_SIZE_LESS_THAN_256KB - Selects
BLK_CGROUP_PUNT_BIO if BLOCK && PAGE_SIZE_LESS_THAN_256KB - Selects
CRC32 if BLOCK && PAGE_SIZE_LESS_THAN_256KB - Selects
CRYPTO_LIB_BLAKE2B if BLOCK && PAGE_SIZE_LESS_THAN_256KB - Selects
CRYPTO_LIB_SHA256 if BLOCK && PAGE_SIZE_LESS_THAN_256KB - Selects
ZLIB_INFLATE if BLOCK && PAGE_SIZE_LESS_THAN_256KB - Selects
ZLIB_DEFLATE if BLOCK && PAGE_SIZE_LESS_THAN_256KB - Selects
LZO_COMPRESS if BLOCK && PAGE_SIZE_LESS_THAN_256KB - Selects
LZO_DECOMPRESS if BLOCK && PAGE_SIZE_LESS_THAN_256KB - Selects
ZSTD_COMPRESS if BLOCK && PAGE_SIZE_LESS_THAN_256KB - Selects
ZSTD_DECOMPRESS if BLOCK && PAGE_SIZE_LESS_THAN_256KB - Selects
FS_IOMAP if BLOCK && PAGE_SIZE_LESS_THAN_256KB - Selects
RAID6_PQ if BLOCK && PAGE_SIZE_LESS_THAN_256KB - Selects
XOR_BLOCKS if BLOCK && PAGE_SIZE_LESS_THAN_256KB - Selects
XXHASH if BLOCK && PAGE_SIZE_LESS_THAN_256KB
If BTRFS_FS
CONFIG_BTRFS_FS_POSIX_ACL Btrfs POSIX Access Control Lists
POSIX Access Control Lists (ACLs) support permissions for users and groups beyond the owner/group/world scheme.
If you don't know what Access Control Lists are, say N
- Depends on
BLOCK && BTRFS_FS - Selects
FS_POSIX_ACL if BLOCK && BTRFS_FS
CONFIG_BTRFS_FS_RUN_SANITY_TESTS Btrfs will run sanity tests upon loading
This will run sanity tests for core functionality like free space, extent maps, extent io, extent buffers, inodes, qgroups and others, at module load time. These are mostly regression tests and are only interesting to developers.
If unsure, say N.
CONFIG_BTRFS_DEBUG Btrfs debugging support
Enable run-time debugging support for the btrfs filesystem.
Additional potentially expensive checks, debugging functionality or sysfs exported information is enabled, like leak checks of internal objects, optional forced space fragmentation and /sys/fs/btrfs/debug . This has negative impact on performance.
If unsure, say N.
- Depends on
BLOCK && BTRFS_FS - Selects
REF_TRACKER if BLOCK && BTRFS_FS &&
CONFIG_BTRFS_ASSERT Btrfs assert support
Enable run-time assertion checking. Additional safety checks are done, simple enough not to affect performance but verify invariants and assumptions of code to run properly. This may result in panics, and is meant for developers but can be enabled in general.
If unsure, say N.
CONFIG_BTRFS_EXPERIMENTAL Btrfs experimental features
Enable experimental features. These features may not be stable enough for end users. This is meant for btrfs developers or users who wish to test the functionality and report problems.
Current list:
- RAID mirror read policy - additional read policies for balancing
reading from redundant block group
profiles (currently: pid, round-robin,
fixed devid)
- send stream protocol v3 - fs-verity support
- raid-stripe-tree - additional mapping of extents to devices to
support RAID1* profiles on zoned devices,
RAID56 not yet supported
- extent tree v2 - complex rework of extent tracking
- block size > page size support - needs transparent huge page and
non-HIGHMEM system
- huge folios for data - folios can be as large as 2MiB now
- asynchronous checksum generation for data writes
- remap-tree - logical address remapping tree
If unsure, say N.
- arch/alpha/Kconfig:116
- arch/arc/Kconfig:82
- arch/arm/Kconfig:222
- arch/arm64/Kconfig:331
- arch/csky/Kconfig:163
- arch/hexagon/Kconfig:69
- arch/loongarch/Kconfig:282
- arch/microblaze/Kconfig:81
- arch/mips/Kconfig:3001
- arch/openrisc/Kconfig:68
- arch/parisc/Kconfig:167
- arch/powerpc/Kconfig:101
- arch/riscv/Kconfig:320
- arch/s390/Kconfig:11
- arch/sh/Kconfig:111
- arch/sparc/Kconfig:125
- arch/um/Kconfig:81
- arch/x86/Kconfig:353
- arch/xtensa/Kconfig:91