xref: /openbmc/linux/fs/ocfs2/Kconfig (revision f21e49be)
1# SPDX-License-Identifier: GPL-2.0-only
2config OCFS2_FS
3	tristate "OCFS2 file system support"
4	depends on INET && SYSFS && CONFIGFS_FS
5	select JBD2
6	select CRC32
7	select QUOTA
8	select QUOTA_TREE
9	select FS_POSIX_ACL
10	help
11	  OCFS2 is a general purpose extent based shared disk cluster file
12	  system with many similarities to ext3. It supports 64 bit inode
13	  numbers, and has automatically extending metadata groups which may
14	  also make it attractive for non-clustered use.
15
16	  You'll want to install the ocfs2-tools package in order to at least
17	  get "mount.ocfs2".
18
19	  Project web page:    https://oss.oracle.com/projects/ocfs2
20	  Tools web page:      https://oss.oracle.com/projects/ocfs2-tools
21	  OCFS2 mailing lists: https://oss.oracle.com/projects/ocfs2/mailman/
22
23	  For more information on OCFS2, see the file
24	  <file:Documentation/filesystems/ocfs2.rst>.
25
26config OCFS2_FS_O2CB
27	tristate "O2CB Kernelspace Clustering"
28	depends on OCFS2_FS
29	default y
30	help
31	  OCFS2 includes a simple kernelspace clustering package, the OCFS2
32	  Cluster Base.  It only requires a very small userspace component
33	  to configure it. This comes with the standard ocfs2-tools package.
34	  O2CB is limited to maintaining a cluster for OCFS2 file systems.
35	  It cannot manage any other cluster applications.
36
37	  It is always safe to say Y here, as the clustering method is
38	  run-time selectable.
39
40config OCFS2_FS_USERSPACE_CLUSTER
41	tristate "OCFS2 Userspace Clustering"
42	depends on OCFS2_FS && DLM
43	default y
44	help
45	  This option will allow OCFS2 to use userspace clustering services
46	  in conjunction with the DLM in fs/dlm.  If you are using a
47	  userspace cluster manager, say Y here.
48
49	  It is safe to say Y, as the clustering method is run-time
50	  selectable.
51
52config OCFS2_FS_STATS
53	bool "OCFS2 statistics"
54	depends on OCFS2_FS && DEBUG_FS
55	default y
56	help
57	  This option allows some fs statistics to be captured. Enabling
58	  this option may increase the memory consumption.
59
60config OCFS2_DEBUG_MASKLOG
61	bool "OCFS2 logging support"
62	depends on OCFS2_FS
63	default y
64	help
65	  The ocfs2 filesystem has an extensive logging system.  The system
66	  allows selection of events to log via files in /sys/o2cb/logmask/.
67	  This option will enlarge your kernel, but it allows debugging of
68	  ocfs2 filesystem issues.
69
70config OCFS2_DEBUG_FS
71	bool "OCFS2 expensive checks"
72	depends on OCFS2_FS
73	default n
74	help
75	  This option will enable expensive consistency checks. Enable
76	  this option for debugging only as it is likely to decrease
77	  performance of the filesystem.
78