xref: /openbmc/linux/fs/btrfs/Kconfig (revision 20055477)
1config BTRFS_FS
2	tristate "Btrfs filesystem support"
3	select LIBCRC32C
4	select ZLIB_INFLATE
5	select ZLIB_DEFLATE
6	select LZO_COMPRESS
7	select LZO_DECOMPRESS
8	select RAID6_PQ
9	select XOR_BLOCKS
10
11	help
12	  Btrfs is a new filesystem with extents, writable snapshotting,
13	  support for multiple devices and many more features.
14
15	  Btrfs is highly experimental, and THE DISK FORMAT IS NOT YET
16	  FINALIZED.  You should say N here unless you are interested in
17	  testing Btrfs with non-critical data.
18
19	  To compile this file system support as a module, choose M here. The
20	  module will be called btrfs.
21
22	  If unsure, say N.
23
24config BTRFS_FS_POSIX_ACL
25	bool "Btrfs POSIX Access Control Lists"
26	depends on BTRFS_FS
27	select FS_POSIX_ACL
28	help
29	  POSIX Access Control Lists (ACLs) support permissions for users and
30	  groups beyond the owner/group/world scheme.
31
32	  To learn more about Access Control Lists, visit the POSIX ACLs for
33	  Linux website <http://acl.bestbits.at/>.
34
35	  If you don't know what Access Control Lists are, say N
36
37config BTRFS_FS_CHECK_INTEGRITY
38	bool "Btrfs with integrity check tool compiled in (DANGEROUS)"
39	depends on BTRFS_FS
40	help
41	  Adds code that examines all block write requests (including
42	  writes of the super block). The goal is to verify that the
43	  state of the filesystem on disk is always consistent, i.e.,
44	  after a power-loss or kernel panic event the filesystem is
45	  in a consistent state.
46
47	  If the integrity check tool is included and activated in
48	  the mount options, plenty of kernel memory is used, and
49	  plenty of additional CPU cycles are spent. Enabling this
50	  functionality is not intended for normal use.
51
52	  In most cases, unless you are a btrfs developer who needs
53	  to verify the integrity of (super)-block write requests
54	  during the run of a regression test, say N
55
56config BTRFS_FS_RUN_SANITY_TESTS
57	bool "Btrfs will run sanity tests upon loading"
58	depends on BTRFS_FS
59	help
60	  This will run some basic sanity tests on the free space cache
61	  code to make sure it is acting as it should.  These are mostly
62	  regression tests and are only really interesting to btrfs devlopers.
63
64	  If unsure, say N.
65
66config BTRFS_DEBUG
67	bool "Btrfs debugging support"
68	depends on BTRFS_FS
69	help
70	  Enable run-time debugging support for the btrfs filesystem. This may
71	  enable additional and expensive checks with negative impact on
72	  performance, or export extra information via sysfs.
73
74	  If unsure, say N.
75
76config BTRFS_ASSERT
77	bool "Btrfs assert support"
78	depends on BTRFS_FS
79	help
80	  Enable run-time assertion checking.  This will result in panics if
81	  any of the assertions trip.  This is meant for btrfs developers only.
82
83	  If unsure, say N.
84