xref: /openbmc/linux/fs/reiserfs/Kconfig (revision 925c86a1)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2b16ecfe2SAlexey Dobriyanconfig REISERFS_FS
3eb103a51SJan Kara	tristate "Reiserfs support (deprecated)"
4*925c86a1SChristoph Hellwig	select BUFFER_HEAD
5651d0623SColy Li	select CRC32
69636e650SChristoph Hellwig	select LEGACY_DIRECT_IO
7b16ecfe2SAlexey Dobriyan	help
8eb103a51SJan Kara	  Reiserfs is deprecated and scheduled to be removed from the kernel
9eb103a51SJan Kara	  in 2025. If you are still using it, please migrate to another
10eb103a51SJan Kara	  filesystem or tell us your usecase for reiserfs.
11eb103a51SJan Kara
12eb103a51SJan Kara	  Reiserfs stores not just filenames but the files themselves in a
13eb103a51SJan Kara	  balanced tree.  Uses journalling.
14b16ecfe2SAlexey Dobriyan
15b16ecfe2SAlexey Dobriyan	  Balanced trees are more efficient than traditional file system
16b16ecfe2SAlexey Dobriyan	  architectural foundations.
17b16ecfe2SAlexey Dobriyan
18b16ecfe2SAlexey Dobriyan	  In general, ReiserFS is as fast as ext2, but is very efficient with
19b16ecfe2SAlexey Dobriyan	  large directories and small files.  Additional patches are needed
20631dd1a8SJustin P. Mattock	  for NFS and quotas, please see
21631dd1a8SJustin P. Mattock	  <https://reiser4.wiki.kernel.org/index.php/Main_Page> for links.
22b16ecfe2SAlexey Dobriyan
23b16ecfe2SAlexey Dobriyan	  It is more easily extended to have features currently found in
24b16ecfe2SAlexey Dobriyan	  database and keyword search systems than block allocation based file
25b16ecfe2SAlexey Dobriyan	  systems are.  The next version will be so extended, and will support
26b16ecfe2SAlexey Dobriyan	  plugins consistent with our motto ``It takes more than a license to
27b16ecfe2SAlexey Dobriyan	  make source code open.''
28b16ecfe2SAlexey Dobriyan
29631dd1a8SJustin P. Mattock	  Read <https://reiser4.wiki.kernel.org/index.php/Main_Page>
30631dd1a8SJustin P. Mattock	  to learn more about reiserfs.
31b16ecfe2SAlexey Dobriyan
32b16ecfe2SAlexey Dobriyan	  Sponsored by Threshold Networks, Emusic.com, and Bigstorage.com.
33b16ecfe2SAlexey Dobriyan
34b16ecfe2SAlexey Dobriyan	  If you like it, you can pay us to add new features to it that you
35b16ecfe2SAlexey Dobriyan	  need, buy a support contract, or pay us to port it to another OS.
36b16ecfe2SAlexey Dobriyan
37b16ecfe2SAlexey Dobriyanconfig REISERFS_CHECK
38b16ecfe2SAlexey Dobriyan	bool "Enable reiserfs debug mode"
39b16ecfe2SAlexey Dobriyan	depends on REISERFS_FS
40b16ecfe2SAlexey Dobriyan	help
41b16ecfe2SAlexey Dobriyan	  If you set this to Y, then ReiserFS will perform every check it can
42b16ecfe2SAlexey Dobriyan	  possibly imagine of its internal consistency throughout its
43b16ecfe2SAlexey Dobriyan	  operation.  It will also go substantially slower.  More than once we
44b16ecfe2SAlexey Dobriyan	  have forgotten that this was on, and then gone despondent over the
45b16ecfe2SAlexey Dobriyan	  latest benchmarks.:-) Use of this option allows our team to go all
46b16ecfe2SAlexey Dobriyan	  out in checking for consistency when debugging without fear of its
47b16ecfe2SAlexey Dobriyan	  effect on end users.  If you are on the verge of sending in a bug
48b16ecfe2SAlexey Dobriyan	  report, say Y and you might get a useful error message.  Almost
49b16ecfe2SAlexey Dobriyan	  everyone should say N.
50b16ecfe2SAlexey Dobriyan
51b16ecfe2SAlexey Dobriyanconfig REISERFS_PROC_INFO
52b16ecfe2SAlexey Dobriyan	bool "Stats in /proc/fs/reiserfs"
53b16ecfe2SAlexey Dobriyan	depends on REISERFS_FS && PROC_FS
54b16ecfe2SAlexey Dobriyan	help
55b16ecfe2SAlexey Dobriyan	  Create under /proc/fs/reiserfs a hierarchy of files, displaying
56b16ecfe2SAlexey Dobriyan	  various ReiserFS statistics and internal data at the expense of
57b16ecfe2SAlexey Dobriyan	  making your kernel or module slightly larger (+8 KB). This also
58b16ecfe2SAlexey Dobriyan	  increases the amount of kernel memory required for each mount.
59b16ecfe2SAlexey Dobriyan	  Almost everyone but ReiserFS developers and people fine-tuning
60b16ecfe2SAlexey Dobriyan	  reiserfs or tracing problems should say N.
61b16ecfe2SAlexey Dobriyan
62b16ecfe2SAlexey Dobriyanconfig REISERFS_FS_XATTR
63b16ecfe2SAlexey Dobriyan	bool "ReiserFS extended attributes"
64b16ecfe2SAlexey Dobriyan	depends on REISERFS_FS
65b16ecfe2SAlexey Dobriyan	help
66b16ecfe2SAlexey Dobriyan	  Extended attributes are name:value pairs associated with inodes by
6791581e4cSAdam Borowski	  the kernel or by users (see the attr(5) manual page for details).
68b16ecfe2SAlexey Dobriyan
69b16ecfe2SAlexey Dobriyan	  If unsure, say N.
70b16ecfe2SAlexey Dobriyan
71b16ecfe2SAlexey Dobriyanconfig REISERFS_FS_POSIX_ACL
72b16ecfe2SAlexey Dobriyan	bool "ReiserFS POSIX Access Control Lists"
73b16ecfe2SAlexey Dobriyan	depends on REISERFS_FS_XATTR
74b16ecfe2SAlexey Dobriyan	select FS_POSIX_ACL
75b16ecfe2SAlexey Dobriyan	help
76b16ecfe2SAlexey Dobriyan	  Posix Access Control Lists (ACLs) support permissions for users and
77b16ecfe2SAlexey Dobriyan	  groups beyond the owner/group/world scheme.
78b16ecfe2SAlexey Dobriyan
79b16ecfe2SAlexey Dobriyan	  If you don't know what Access Control Lists are, say N
80b16ecfe2SAlexey Dobriyan
81b16ecfe2SAlexey Dobriyanconfig REISERFS_FS_SECURITY
82b16ecfe2SAlexey Dobriyan	bool "ReiserFS Security Labels"
83b16ecfe2SAlexey Dobriyan	depends on REISERFS_FS_XATTR
84b16ecfe2SAlexey Dobriyan	help
85b16ecfe2SAlexey Dobriyan	  Security labels support alternative access control models
86b16ecfe2SAlexey Dobriyan	  implemented by security modules like SELinux.  This option
87b16ecfe2SAlexey Dobriyan	  enables an extended attribute handler for file security
88b16ecfe2SAlexey Dobriyan	  labels in the ReiserFS filesystem.
89b16ecfe2SAlexey Dobriyan
90b16ecfe2SAlexey Dobriyan	  If you are not using a security module that requires using
91b16ecfe2SAlexey Dobriyan	  extended attributes for file security labels, say N.
92