Directory Files
.. 77
tests 9
File Size
Kconfig 3.5 kB
Makefile 2.1 kB
accessors.c 6.5 kB
accessors.h 43 kB
acl.c 2.7 kB
acl.h 645 B
async-thread.c 10 kB
async-thread.h 1.6 kB
backref.c 102 kB
backref.h 18 kB
bio.c 25 kB
bio.h 3.0 kB
block-group.c 139 kB
block-group.h 12 kB
block-rsv.c 17 kB
block-rsv.h 3.5 kB
btrfs.mod.c 0 B
btrfs_inode.h 18 kB
check-integrity.c 88 kB
check-integrity.h 524 B
compression.c 40 kB
compression.h 6.0 kB
ctree.c 140 kB
ctree.h 23 kB
defrag.c 37 kB
defrag.h 787 B
delalloc-space.c 18 kB
delalloc-space.h 1.2 kB
delayed-inode.c 63 kB
delayed-inode.h 5.5 kB
delayed-ref.c 32 kB
delayed-ref.h 12 kB
dev-replace.c 38 kB
dev-replace.h 1.3 kB
dir-item.c 13 kB
dir-item.h 1.7 kB
discard.c 24 kB
discard.h 1.3 kB
disk-io.c 142 kB
disk-io.h 5.2 kB
export.c 7.8 kB
export.h 507 B
extent-io-tree.c 47 kB
extent-io-tree.h 6.3 kB
extent-tree.c 171 kB
extent-tree.h 5.0 kB
extent_io.c 131 kB
extent_io.h 10 kB
extent_map.c 29 kB
extent_map.h 3.2 kB
file-item.c 38 kB
file-item.h 2.7 kB
file.c 111 kB
file.h 1.5 kB
free-space-cache.c 117 kB
free-space-cache.h 5.6 kB
free-space-tree.c 43 kB
free-space-tree.h 2.2 kB
fs.c 2.7 kB
fs.h 29 kB
inode-item.c 20 kB
inode-item.h 3.1 kB
inode.c 320 kB
ioctl.c 118 kB
ioctl.h 697 B
locking.c 10 kB
locking.h 7.5 kB
lru_cache.c 3.9 kB
lru_cache.h 2.7 kB
lzo.c 13 kB
messages.c 8.8 kB
messages.h 7.7 kB
misc.h 3.8 kB
ordered-data.c 36 kB
ordered-data.h 6.6 kB
orphan.c 1.1 kB
orphan.h 307 B
print-tree.c 13 kB
print-tree.h 468 B
props.c 11 kB
props.h 766 B
qgroup.c 119 kB
qgroup.h 15 kB
raid56.c 76 kB
raid56.h 5.3 kB
rcu-string.h 1.1 kB
ref-verify.c 26 kB
ref-verify.h 1.2 kB
reflink.c 29 kB
reflink.h 305 B
relocation.c 118 kB
relocation.h 1.1 kB
root-tree.c 15 kB
root-tree.h 1.6 kB
scrub.c 89 kB
scrub.h 591 B
send.c 220 kB
send.h 4.3 kB
space-info.c 60 kB
space-info.h 7.4 kB
subpage.c 25 kB
subpage.h 5.7 kB
super.c 70 kB
super.h 744 B
sysfs.c 65 kB
sysfs.h 1.6 kB
transaction.c 81 kB
transaction.h 8.9 kB
tree-checker.c 63 kB
tree-checker.h 2.0 kB
tree-log.c 215 kB
tree-log.h 3.6 kB
tree-mod-log.c 29 kB
tree-mod-log.h 1.8 kB
ulist.c 6.8 kB
ulist.h 2.0 kB
uuid-tree.c 8.7 kB
uuid-tree.h 348 B
verity.c 23 kB
verity.h 543 B
volumes.c 223 kB
volumes.h 23 kB
xattr.c 13 kB
xattr.h 804 B
zlib.c 12 kB
zoned.c 68 kB
zoned.h 12 kB
zstd.c 19 kB

Linux v6.6.1 - btrfs

# SPDX-License-Identifier: GPL-2.0

config BTRFS_FS
	tristate "Btrfs filesystem support"
	select BLK_CGROUP_PUNT_BIO
	select CRYPTO
	select CRYPTO_CRC32C
	select LIBCRC32C
	select CRYPTO_XXHASH
	select CRYPTO_SHA256
	select CRYPTO_BLAKE2B
	select ZLIB_INFLATE
	select ZLIB_DEFLATE
	select LZO_COMPRESS
	select LZO_DECOMPRESS
	select ZSTD_COMPRESS
	select ZSTD_DECOMPRESS
	select FS_IOMAP
	select RAID6_PQ
	select XOR_BLOCKS
	depends on PAGE_SIZE_LESS_THAN_256KB

	help
	  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.

config BTRFS_FS_POSIX_ACL
	bool "Btrfs POSIX Access Control Lists"
	depends on BTRFS_FS
	select FS_POSIX_ACL
	help
	  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

config BTRFS_FS_CHECK_INTEGRITY
	bool "Btrfs with integrity check tool compiled in (DEPRECATED)"
	depends on BTRFS_FS
	help
	  This feature has been deprecated and will be removed in 6.7.

	  Adds code that examines all block write requests (including
	  writes of the super block). The goal is to verify that the
	  state of the filesystem on disk is always consistent, i.e.,
	  after a power-loss or kernel panic event the filesystem is
	  in a consistent state.

	  If the integrity check tool is included and activated in
	  the mount options, plenty of kernel memory is used, and
	  plenty of additional CPU cycles are spent. Enabling this
	  functionality is not intended for normal use.

	  In most cases, unless you are a btrfs developer who needs
	  to verify the integrity of (super)-block write requests
	  during the run of a regression test, say N

config BTRFS_FS_RUN_SANITY_TESTS
	bool "Btrfs will run sanity tests upon loading"
	depends on BTRFS_FS
	help
	  This will run some basic sanity tests on the free space cache
	  code to make sure it is acting as it should.  These are mostly
	  regression tests and are only really interesting to btrfs
	  developers.

	  If unsure, say N.

config BTRFS_DEBUG
	bool "Btrfs debugging support"
	depends on BTRFS_FS
	help
	  Enable run-time debugging support for the btrfs filesystem. This may
	  enable additional and expensive checks with negative impact on
	  performance, or export extra information via sysfs.

	  If unsure, say N.

config BTRFS_ASSERT
	bool "Btrfs assert support"
	depends on BTRFS_FS
	help
	  Enable run-time assertion checking.  This will result in panics if
	  any of the assertions trip.  This is meant for btrfs developers only.

	  If unsure, say N.

config BTRFS_FS_REF_VERIFY
	bool "Btrfs with the ref verify tool compiled in"
	depends on BTRFS_FS
	default n
	help
	  Enable run-time extent reference verification instrumentation.  This
	  is meant to be used by btrfs developers for tracking down extent
	  reference problems or verifying they didn't break something.

	  If unsure, say N.