xref: /openbmc/linux/fs/btrfs/Kconfig (revision 6d49ba1b)
1335debeeSAlexey Dobriyanconfig BTRFS_FS
2aa825914SDavid Sterba	tristate "Btrfs filesystem support"
3335debeeSAlexey Dobriyan	select LIBCRC32C
4335debeeSAlexey Dobriyan	select ZLIB_INFLATE
5335debeeSAlexey Dobriyan	select ZLIB_DEFLATE
6a6fa6faeSLi Zefan	select LZO_COMPRESS
7a6fa6faeSLi Zefan	select LZO_DECOMPRESS
853b381b3SDavid Woodhouse	select RAID6_PQ
910e78e3aSTomasz Torcz	select XOR_BLOCKS
1053b381b3SDavid Woodhouse
11335debeeSAlexey Dobriyan	help
12335debeeSAlexey Dobriyan	  Btrfs is a new filesystem with extents, writable snapshotting,
13335debeeSAlexey Dobriyan	  support for multiple devices and many more features.
14335debeeSAlexey Dobriyan
15335debeeSAlexey Dobriyan	  Btrfs is highly experimental, and THE DISK FORMAT IS NOT YET
16335debeeSAlexey Dobriyan	  FINALIZED.  You should say N here unless you are interested in
17335debeeSAlexey Dobriyan	  testing Btrfs with non-critical data.
18335debeeSAlexey Dobriyan
19335debeeSAlexey Dobriyan	  To compile this file system support as a module, choose M here. The
20335debeeSAlexey Dobriyan	  module will be called btrfs.
21335debeeSAlexey Dobriyan
22335debeeSAlexey Dobriyan	  If unsure, say N.
23bef62ef3SChristian Hesse
24bef62ef3SChristian Hesseconfig BTRFS_FS_POSIX_ACL
25bef62ef3SChristian Hesse	bool "Btrfs POSIX Access Control Lists"
26bef62ef3SChristian Hesse	depends on BTRFS_FS
27bef62ef3SChristian Hesse	select FS_POSIX_ACL
28bef62ef3SChristian Hesse	help
29bef62ef3SChristian Hesse	  POSIX Access Control Lists (ACLs) support permissions for users and
30bef62ef3SChristian Hesse	  groups beyond the owner/group/world scheme.
31bef62ef3SChristian Hesse
32bef62ef3SChristian Hesse	  To learn more about Access Control Lists, visit the POSIX ACLs for
33bef62ef3SChristian Hesse	  Linux website <http://acl.bestbits.at/>.
34bef62ef3SChristian Hesse
35bef62ef3SChristian Hesse	  If you don't know what Access Control Lists are, say N
36c975dd46SStefan Behrens
37c975dd46SStefan Behrensconfig BTRFS_FS_CHECK_INTEGRITY
38c975dd46SStefan Behrens	bool "Btrfs with integrity check tool compiled in (DANGEROUS)"
39c975dd46SStefan Behrens	depends on BTRFS_FS
40c975dd46SStefan Behrens	help
41c975dd46SStefan Behrens	  Adds code that examines all block write requests (including
42c975dd46SStefan Behrens	  writes of the super block). The goal is to verify that the
43c975dd46SStefan Behrens	  state of the filesystem on disk is always consistent, i.e.,
44c975dd46SStefan Behrens	  after a power-loss or kernel panic event the filesystem is
45c975dd46SStefan Behrens	  in a consistent state.
46c975dd46SStefan Behrens
47c975dd46SStefan Behrens	  If the integrity check tool is included and activated in
48c975dd46SStefan Behrens	  the mount options, plenty of kernel memory is used, and
49c975dd46SStefan Behrens	  plenty of additional CPU cycles are spent. Enabling this
50c975dd46SStefan Behrens	  functionality is not intended for normal use.
51c975dd46SStefan Behrens
52c975dd46SStefan Behrens	  In most cases, unless you are a btrfs developer who needs
53c975dd46SStefan Behrens	  to verify the integrity of (super)-block write requests
54c975dd46SStefan Behrens	  during the run of a regression test, say N
5574255aa0SJosef Bacik
5674255aa0SJosef Bacikconfig BTRFS_FS_RUN_SANITY_TESTS
5774255aa0SJosef Bacik	bool "Btrfs will run sanity tests upon loading"
5874255aa0SJosef Bacik	depends on BTRFS_FS
5974255aa0SJosef Bacik	help
6074255aa0SJosef Bacik	  This will run some basic sanity tests on the free space cache
6174255aa0SJosef Bacik	  code to make sure it is acting as it should.  These are mostly
6274255aa0SJosef Bacik	  regression tests and are only really interesting to btrfs devlopers.
6374255aa0SJosef Bacik
6474255aa0SJosef Bacik	  If unsure, say N.
6574255aa0SJosef Bacik
666d49ba1bSEric Sandeenconfig BTRFS_DEBUG
676d49ba1bSEric Sandeen	bool "Btrfs debugging support"
686d49ba1bSEric Sandeen	depends on BTRFS_FS
696d49ba1bSEric Sandeen	help
706d49ba1bSEric Sandeen	  Enable run-time debugging support for the btrfs filesystem. This may
716d49ba1bSEric Sandeen	  enable additional and expensive checks with negative impact on
726d49ba1bSEric Sandeen	  performance, or export extra information via sysfs.
736d49ba1bSEric Sandeen
746d49ba1bSEric Sandeen	  If unsure, say N.
75