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