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