162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ciconfig OCFS2_FS
362306a36Sopenharmony_ci	tristate "OCFS2 file system support"
462306a36Sopenharmony_ci	depends on INET && SYSFS && CONFIGFS_FS
562306a36Sopenharmony_ci	select BUFFER_HEAD
662306a36Sopenharmony_ci	select JBD2
762306a36Sopenharmony_ci	select CRC32
862306a36Sopenharmony_ci	select QUOTA
962306a36Sopenharmony_ci	select QUOTA_TREE
1062306a36Sopenharmony_ci	select FS_POSIX_ACL
1162306a36Sopenharmony_ci	select LEGACY_DIRECT_IO
1262306a36Sopenharmony_ci	help
1362306a36Sopenharmony_ci	  OCFS2 is a general purpose extent based shared disk cluster file
1462306a36Sopenharmony_ci	  system with many similarities to ext3. It supports 64 bit inode
1562306a36Sopenharmony_ci	  numbers, and has automatically extending metadata groups which may
1662306a36Sopenharmony_ci	  also make it attractive for non-clustered use.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci	  You'll want to install the ocfs2-tools package in order to at least
1962306a36Sopenharmony_ci	  get "mount.ocfs2".
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci	  Project web page:    https://ocfs2.wiki.kernel.org/
2262306a36Sopenharmony_ci	  Tools web page:      https://github.com/markfasheh/ocfs2-tools
2362306a36Sopenharmony_ci	  OCFS2 mailing lists: https://subspace.kernel.org/lists.linux.dev.html
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci	  For more information on OCFS2, see the file
2662306a36Sopenharmony_ci	  <file:Documentation/filesystems/ocfs2.rst>.
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ciconfig OCFS2_FS_O2CB
2962306a36Sopenharmony_ci	tristate "O2CB Kernelspace Clustering"
3062306a36Sopenharmony_ci	depends on OCFS2_FS
3162306a36Sopenharmony_ci	default y
3262306a36Sopenharmony_ci	help
3362306a36Sopenharmony_ci	  OCFS2 includes a simple kernelspace clustering package, the OCFS2
3462306a36Sopenharmony_ci	  Cluster Base.  It only requires a very small userspace component
3562306a36Sopenharmony_ci	  to configure it. This comes with the standard ocfs2-tools package.
3662306a36Sopenharmony_ci	  O2CB is limited to maintaining a cluster for OCFS2 file systems.
3762306a36Sopenharmony_ci	  It cannot manage any other cluster applications.
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ci	  It is always safe to say Y here, as the clustering method is
4062306a36Sopenharmony_ci	  run-time selectable.
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ciconfig OCFS2_FS_USERSPACE_CLUSTER
4362306a36Sopenharmony_ci	tristate "OCFS2 Userspace Clustering"
4462306a36Sopenharmony_ci	depends on OCFS2_FS && DLM
4562306a36Sopenharmony_ci	default y
4662306a36Sopenharmony_ci	help
4762306a36Sopenharmony_ci	  This option will allow OCFS2 to use userspace clustering services
4862306a36Sopenharmony_ci	  in conjunction with the DLM in fs/dlm.  If you are using a
4962306a36Sopenharmony_ci	  userspace cluster manager, say Y here.
5062306a36Sopenharmony_ci
5162306a36Sopenharmony_ci	  It is safe to say Y, as the clustering method is run-time
5262306a36Sopenharmony_ci	  selectable.
5362306a36Sopenharmony_ci
5462306a36Sopenharmony_ciconfig OCFS2_FS_STATS
5562306a36Sopenharmony_ci	bool "OCFS2 statistics"
5662306a36Sopenharmony_ci	depends on OCFS2_FS && DEBUG_FS
5762306a36Sopenharmony_ci	default y
5862306a36Sopenharmony_ci	help
5962306a36Sopenharmony_ci	  This option allows some fs statistics to be captured. Enabling
6062306a36Sopenharmony_ci	  this option may increase the memory consumption.
6162306a36Sopenharmony_ci
6262306a36Sopenharmony_ciconfig OCFS2_DEBUG_MASKLOG
6362306a36Sopenharmony_ci	bool "OCFS2 logging support"
6462306a36Sopenharmony_ci	depends on OCFS2_FS
6562306a36Sopenharmony_ci	default y
6662306a36Sopenharmony_ci	help
6762306a36Sopenharmony_ci	  The ocfs2 filesystem has an extensive logging system.  The system
6862306a36Sopenharmony_ci	  allows selection of events to log via files in /sys/o2cb/logmask/.
6962306a36Sopenharmony_ci	  This option will enlarge your kernel, but it allows debugging of
7062306a36Sopenharmony_ci	  ocfs2 filesystem issues.
7162306a36Sopenharmony_ci
7262306a36Sopenharmony_ciconfig OCFS2_DEBUG_FS
7362306a36Sopenharmony_ci	bool "OCFS2 expensive checks"
7462306a36Sopenharmony_ci	depends on OCFS2_FS
7562306a36Sopenharmony_ci	default n
7662306a36Sopenharmony_ci	help
7762306a36Sopenharmony_ci	  This option will enable expensive consistency checks. Enable
7862306a36Sopenharmony_ci	  this option for debugging only as it is likely to decrease
7962306a36Sopenharmony_ci	  performance of the filesystem.
80