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