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