Kconfig 3.31 KB
Newer Older
1 2
# SPDX-License-Identifier: GPL-2.0

Alexey Dobriyan's avatar
Alexey Dobriyan committed
3
config BTRFS_FS
David Sterba's avatar
David Sterba committed
4
	tristate "Btrfs filesystem support"
5 6
	select CRYPTO
	select CRYPTO_CRC32C
7
	select LIBCRC32C
8
	select CRYPTO_XXHASH
9
	select CRYPTO_SHA256
10
	select CRYPTO_BLAKE2B
Alexey Dobriyan's avatar
Alexey Dobriyan committed
11 12
	select ZLIB_INFLATE
	select ZLIB_DEFLATE
Li Zefan's avatar
Li Zefan committed
13 14
	select LZO_COMPRESS
	select LZO_DECOMPRESS
Nick Terrell's avatar
Nick Terrell committed
15 16
	select ZSTD_COMPRESS
	select ZSTD_DECOMPRESS
David Woodhouse's avatar
David Woodhouse committed
17
	select RAID6_PQ
18
	select XOR_BLOCKS
19
	select SRCU
David Woodhouse's avatar
David Woodhouse committed
20

Alexey Dobriyan's avatar
Alexey Dobriyan committed
21
	help
David Sterba's avatar
David Sterba committed
22 23 24
	  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.
Alexey Dobriyan's avatar
Alexey Dobriyan committed
25

David Sterba's avatar
David Sterba committed
26 27 28 29 30 31 32
	  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
	  http://btrfs.wiki.kernel.org.
Alexey Dobriyan's avatar
Alexey Dobriyan committed
33 34 35 36 37

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

	  If unsure, say N.
38 39 40 41 42 43 44 45 46 47

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
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66

config BTRFS_FS_CHECK_INTEGRITY
	bool "Btrfs with integrity check tool compiled in (DANGEROUS)"
	depends on BTRFS_FS
	help
	  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
67 68 69 70 71 72 73

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
74 75
	  regression tests and are only really interesting to btrfs
	  developers.
76 77 78

	  If unsure, say N.

79 80 81 82 83 84 85 86 87
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.
Josef Bacik's avatar
Josef Bacik committed
88 89 90 91 92 93 94 95 96

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.
97 98 99 100 101 102 103 104 105 106 107

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.