18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ciconfig OCFS2_FS 38c2ecf20Sopenharmony_ci tristate "OCFS2 file system support" 48c2ecf20Sopenharmony_ci depends on INET && SYSFS && CONFIGFS_FS 58c2ecf20Sopenharmony_ci select JBD2 68c2ecf20Sopenharmony_ci select CRC32 78c2ecf20Sopenharmony_ci select QUOTA 88c2ecf20Sopenharmony_ci select QUOTA_TREE 98c2ecf20Sopenharmony_ci select FS_POSIX_ACL 108c2ecf20Sopenharmony_ci help 118c2ecf20Sopenharmony_ci OCFS2 is a general purpose extent based shared disk cluster file 128c2ecf20Sopenharmony_ci system with many similarities to ext3. It supports 64 bit inode 138c2ecf20Sopenharmony_ci numbers, and has automatically extending metadata groups which may 148c2ecf20Sopenharmony_ci also make it attractive for non-clustered use. 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci You'll want to install the ocfs2-tools package in order to at least 178c2ecf20Sopenharmony_ci get "mount.ocfs2". 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci Project web page: https://oss.oracle.com/projects/ocfs2 208c2ecf20Sopenharmony_ci Tools web page: https://oss.oracle.com/projects/ocfs2-tools 218c2ecf20Sopenharmony_ci OCFS2 mailing lists: https://oss.oracle.com/projects/ocfs2/mailman/ 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci For more information on OCFS2, see the file 248c2ecf20Sopenharmony_ci <file:Documentation/filesystems/ocfs2.rst>. 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ciconfig OCFS2_FS_O2CB 278c2ecf20Sopenharmony_ci tristate "O2CB Kernelspace Clustering" 288c2ecf20Sopenharmony_ci depends on OCFS2_FS 298c2ecf20Sopenharmony_ci default y 308c2ecf20Sopenharmony_ci help 318c2ecf20Sopenharmony_ci OCFS2 includes a simple kernelspace clustering package, the OCFS2 328c2ecf20Sopenharmony_ci Cluster Base. It only requires a very small userspace component 338c2ecf20Sopenharmony_ci to configure it. This comes with the standard ocfs2-tools package. 348c2ecf20Sopenharmony_ci O2CB is limited to maintaining a cluster for OCFS2 file systems. 358c2ecf20Sopenharmony_ci It cannot manage any other cluster applications. 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_ci It is always safe to say Y here, as the clustering method is 388c2ecf20Sopenharmony_ci run-time selectable. 398c2ecf20Sopenharmony_ci 408c2ecf20Sopenharmony_ciconfig OCFS2_FS_USERSPACE_CLUSTER 418c2ecf20Sopenharmony_ci tristate "OCFS2 Userspace Clustering" 428c2ecf20Sopenharmony_ci depends on OCFS2_FS && DLM 438c2ecf20Sopenharmony_ci default y 448c2ecf20Sopenharmony_ci help 458c2ecf20Sopenharmony_ci This option will allow OCFS2 to use userspace clustering services 468c2ecf20Sopenharmony_ci in conjunction with the DLM in fs/dlm. If you are using a 478c2ecf20Sopenharmony_ci userspace cluster manager, say Y here. 488c2ecf20Sopenharmony_ci 498c2ecf20Sopenharmony_ci It is safe to say Y, as the clustering method is run-time 508c2ecf20Sopenharmony_ci selectable. 518c2ecf20Sopenharmony_ci 528c2ecf20Sopenharmony_ciconfig OCFS2_FS_STATS 538c2ecf20Sopenharmony_ci bool "OCFS2 statistics" 548c2ecf20Sopenharmony_ci depends on OCFS2_FS && DEBUG_FS 558c2ecf20Sopenharmony_ci default y 568c2ecf20Sopenharmony_ci help 578c2ecf20Sopenharmony_ci This option allows some fs statistics to be captured. Enabling 588c2ecf20Sopenharmony_ci this option may increase the memory consumption. 598c2ecf20Sopenharmony_ci 608c2ecf20Sopenharmony_ciconfig OCFS2_DEBUG_MASKLOG 618c2ecf20Sopenharmony_ci bool "OCFS2 logging support" 628c2ecf20Sopenharmony_ci depends on OCFS2_FS 638c2ecf20Sopenharmony_ci default y 648c2ecf20Sopenharmony_ci help 658c2ecf20Sopenharmony_ci The ocfs2 filesystem has an extensive logging system. The system 668c2ecf20Sopenharmony_ci allows selection of events to log via files in /sys/o2cb/logmask/. 678c2ecf20Sopenharmony_ci This option will enlarge your kernel, but it allows debugging of 688c2ecf20Sopenharmony_ci ocfs2 filesystem issues. 698c2ecf20Sopenharmony_ci 708c2ecf20Sopenharmony_ciconfig OCFS2_DEBUG_FS 718c2ecf20Sopenharmony_ci bool "OCFS2 expensive checks" 728c2ecf20Sopenharmony_ci depends on OCFS2_FS 738c2ecf20Sopenharmony_ci default n 748c2ecf20Sopenharmony_ci help 758c2ecf20Sopenharmony_ci This option will enable expensive consistency checks. Enable 768c2ecf20Sopenharmony_ci this option for debugging only as it is likely to decrease 778c2ecf20Sopenharmony_ci performance of the filesystem. 78