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