xref: /openbmc/linux/fs/btrfs/Kconfig (revision c4ee0af3)
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 general purpose copy-on-write filesystem with extents,
13	  writable snapshotting, support for multiple devices and many more
14	  features focused on fault tolerance, repair and easy administration.
15
16	  The filesystem disk format is no longer unstable, and it's not
17	  expected to change unless there are strong reasons to do so. If there
18	  is a format change, file systems with a unchanged format will
19	  continue to be mountable and usable by newer kernels.
20
21	  For more information, please see the web pages at
22	  http://btrfs.wiki.kernel.org.
23
24	  To compile this file system support as a module, choose M here. The
25	  module will be called btrfs.
26
27	  If unsure, say N.
28
29config BTRFS_FS_POSIX_ACL
30	bool "Btrfs POSIX Access Control Lists"
31	depends on BTRFS_FS
32	select FS_POSIX_ACL
33	help
34	  POSIX Access Control Lists (ACLs) support permissions for users and
35	  groups beyond the owner/group/world scheme.
36
37	  To learn more about Access Control Lists, visit the POSIX ACLs for
38	  Linux website <http://acl.bestbits.at/>.
39
40	  If you don't know what Access Control Lists are, say N
41
42config BTRFS_FS_CHECK_INTEGRITY
43	bool "Btrfs with integrity check tool compiled in (DANGEROUS)"
44	depends on BTRFS_FS
45	help
46	  Adds code that examines all block write requests (including
47	  writes of the super block). The goal is to verify that the
48	  state of the filesystem on disk is always consistent, i.e.,
49	  after a power-loss or kernel panic event the filesystem is
50	  in a consistent state.
51
52	  If the integrity check tool is included and activated in
53	  the mount options, plenty of kernel memory is used, and
54	  plenty of additional CPU cycles are spent. Enabling this
55	  functionality is not intended for normal use.
56
57	  In most cases, unless you are a btrfs developer who needs
58	  to verify the integrity of (super)-block write requests
59	  during the run of a regression test, say N
60
61config BTRFS_FS_RUN_SANITY_TESTS
62	bool "Btrfs will run sanity tests upon loading"
63	depends on BTRFS_FS
64	help
65	  This will run some basic sanity tests on the free space cache
66	  code to make sure it is acting as it should.  These are mostly
67	  regression tests and are only really interesting to btrfs
68	  developers.
69
70	  If unsure, say N.
71
72config BTRFS_DEBUG
73	bool "Btrfs debugging support"
74	depends on BTRFS_FS
75	help
76	  Enable run-time debugging support for the btrfs filesystem. This may
77	  enable additional and expensive checks with negative impact on
78	  performance, or export extra information via sysfs.
79
80	  If unsure, say N.
81
82config BTRFS_ASSERT
83	bool "Btrfs assert support"
84	depends on BTRFS_FS
85	help
86	  Enable run-time assertion checking.  This will result in panics if
87	  any of the assertions trip.  This is meant for btrfs developers only.
88
89	  If unsure, say N.
90