xref: /openbmc/linux/fs/btrfs/Kconfig (revision 10e78e3a)
1335debeeSAlexey Dobriyanconfig BTRFS_FS
2335debeeSAlexey Dobriyan	tristate "Btrfs filesystem (EXPERIMENTAL) Unstable disk format"
3335debeeSAlexey Dobriyan	depends on EXPERIMENTAL
4335debeeSAlexey Dobriyan	select LIBCRC32C
5335debeeSAlexey Dobriyan	select ZLIB_INFLATE
6335debeeSAlexey Dobriyan	select ZLIB_DEFLATE
7a6fa6faeSLi Zefan	select LZO_COMPRESS
8a6fa6faeSLi Zefan	select LZO_DECOMPRESS
953b381b3SDavid Woodhouse	select RAID6_PQ
1010e78e3aSTomasz Torcz	select XOR_BLOCKS
1153b381b3SDavid Woodhouse
12335debeeSAlexey Dobriyan	help
13335debeeSAlexey Dobriyan	  Btrfs is a new filesystem with extents, writable snapshotting,
14335debeeSAlexey Dobriyan	  support for multiple devices and many more features.
15335debeeSAlexey Dobriyan
16335debeeSAlexey Dobriyan	  Btrfs is highly experimental, and THE DISK FORMAT IS NOT YET
17335debeeSAlexey Dobriyan	  FINALIZED.  You should say N here unless you are interested in
18335debeeSAlexey Dobriyan	  testing Btrfs with non-critical data.
19335debeeSAlexey Dobriyan
20335debeeSAlexey Dobriyan	  To compile this file system support as a module, choose M here. The
21335debeeSAlexey Dobriyan	  module will be called btrfs.
22335debeeSAlexey Dobriyan
23335debeeSAlexey Dobriyan	  If unsure, say N.
24bef62ef3SChristian Hesse
25bef62ef3SChristian Hesseconfig BTRFS_FS_POSIX_ACL
26bef62ef3SChristian Hesse	bool "Btrfs POSIX Access Control Lists"
27bef62ef3SChristian Hesse	depends on BTRFS_FS
28bef62ef3SChristian Hesse	select FS_POSIX_ACL
29bef62ef3SChristian Hesse	help
30bef62ef3SChristian Hesse	  POSIX Access Control Lists (ACLs) support permissions for users and
31bef62ef3SChristian Hesse	  groups beyond the owner/group/world scheme.
32bef62ef3SChristian Hesse
33bef62ef3SChristian Hesse	  To learn more about Access Control Lists, visit the POSIX ACLs for
34bef62ef3SChristian Hesse	  Linux website <http://acl.bestbits.at/>.
35bef62ef3SChristian Hesse
36bef62ef3SChristian Hesse	  If you don't know what Access Control Lists are, say N
37c975dd46SStefan Behrens
38c975dd46SStefan Behrensconfig BTRFS_FS_CHECK_INTEGRITY
39c975dd46SStefan Behrens	bool "Btrfs with integrity check tool compiled in (DANGEROUS)"
40c975dd46SStefan Behrens	depends on BTRFS_FS
41c975dd46SStefan Behrens	help
42c975dd46SStefan Behrens	  Adds code that examines all block write requests (including
43c975dd46SStefan Behrens	  writes of the super block). The goal is to verify that the
44c975dd46SStefan Behrens	  state of the filesystem on disk is always consistent, i.e.,
45c975dd46SStefan Behrens	  after a power-loss or kernel panic event the filesystem is
46c975dd46SStefan Behrens	  in a consistent state.
47c975dd46SStefan Behrens
48c975dd46SStefan Behrens	  If the integrity check tool is included and activated in
49c975dd46SStefan Behrens	  the mount options, plenty of kernel memory is used, and
50c975dd46SStefan Behrens	  plenty of additional CPU cycles are spent. Enabling this
51c975dd46SStefan Behrens	  functionality is not intended for normal use.
52c975dd46SStefan Behrens
53c975dd46SStefan Behrens	  In most cases, unless you are a btrfs developer who needs
54c975dd46SStefan Behrens	  to verify the integrity of (super)-block write requests
55c975dd46SStefan Behrens	  during the run of a regression test, say N
56