Directory Files
.. 80
tests 9
File Size
Kconfig 3.4 kB
Makefile 1.9 kB
acl.c 3.4 kB
async-thread.c 11 kB
async-thread.h 1.6 kB
backref.c 85 kB
backref.h 11 kB
block-group.c 122 kB
block-group.h 11 kB
block-rsv.c 17 kB
block-rsv.h 3.3 kB
btrfs.mod.c 0 B
btrfs_inode.h 12 kB
check-integrity.c 88 kB
check-integrity.h 599 B
compression.c 51 kB
compression.h 6.1 kB
ctree.c 127 kB
ctree.h 133 kB
delalloc-space.c 17 kB
delalloc-space.h 950 B
delayed-inode.c 51 kB
delayed-inode.h 4.4 kB
delayed-ref.c 33 kB
delayed-ref.h 11 kB
dev-replace.c 39 kB
dev-replace.h 970 B
dir-item.c 13 kB
discard.c 24 kB
discard.h 1.4 kB
disk-io.c 148 kB
disk-io.h 6.2 kB
export.c 7.3 kB
export.h 533 B
extent-io-tree.h 9.0 kB
extent-tree.c 171 kB
extent_io.c 200 kB
extent_io.h 11 kB
extent_map.c 18 kB
extent_map.h 2.7 kB
file-item.c 37 kB
file.c 107 kB
free-space-cache.c 115 kB
free-space-cache.h 5.4 kB
free-space-tree.c 41 kB
free-space-tree.h 2.2 kB
inode-item.c 20 kB
inode-item.h 2.7 kB
inode.c 308 kB
ioctl.c 128 kB
locking.c 6.8 kB
locking.h 4.4 kB
lzo.c 13 kB
misc.h 2.5 kB
ordered-data.c 32 kB
ordered-data.h 6.6 kB
orphan.c 1.1 kB
print-tree.c 12 kB
print-tree.h 456 B
props.c 11 kB
props.h 800 B
qgroup.c 114 kB
qgroup.h 14 kB
raid56.c 69 kB
raid56.h 1.6 kB
rcu-string.h 997 B
ref-verify.c 26 kB
ref-verify.h 1.2 kB
reflink.c 28 kB
reflink.h 305 B
relocation.c 115 kB
root-tree.c 14 kB
scrub.c 116 kB
send.c 196 kB
send.h 2.5 kB
space-info.c 54 kB
space-info.h 4.9 kB
struct-funcs.c 6.4 kB
subpage.c 24 kB
subpage.h 5.5 kB
super.c 73 kB
sysfs.c 56 kB
sysfs.h 1.7 kB
transaction.c 71 kB
transaction.h 7.7 kB
tree-checker.c 55 kB
tree-checker.h 702 B
tree-defrag.c 3.4 kB
tree-log.c 189 kB
tree-log.h 2.9 kB
tree-mod-log.c 24 kB
tree-mod-log.h 1.8 kB
ulist.c 6.9 kB
ulist.h 2.0 kB
uuid-tree.c 8.6 kB
verity.c 23 kB
volumes.c 230 kB
volumes.h 18 kB
xattr.c 14 kB
xattr.h 804 B
zlib.c 12 kB
zoned.c 52 kB
zoned.h 11 kB
zstd.c 19 kB

Linux v5.17-rc1 - btrfs

# SPDX-License-Identifier: GPL-2.0

config BTRFS_FS
	tristate "Btrfs filesystem support"
	select CRYPTO
	select CRYPTO_CRC32C
	select LIBCRC32C
	select CRYPTO_SHA256
	select FS_IOMAP
	select RAID6_PQ
	select XOR_BLOCKS
	select SRCU
	depends on PAGE_SIZE_LESS_THAN_256KB

	  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

	  To compile this file system support as a module, choose M here. The
	  module will be called btrfs.

	  If unsure, say N.

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

	bool "Btrfs with integrity check tool compiled in (DANGEROUS)"
	depends on BTRFS_FS
	  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

	bool "Btrfs will run sanity tests upon loading"
	depends on BTRFS_FS
	  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

	  If unsure, say N.

	bool "Btrfs debugging support"
	depends on BTRFS_FS
	  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.

	bool "Btrfs assert support"
	depends on BTRFS_FS
	  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.

	bool "Btrfs with the ref verify tool compiled in"
	depends on BTRFS_FS
	default n
	  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.