1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 22fe4371dSAlexey Dobriyanconfig OCFS2_FS 32fe4371dSAlexey Dobriyan tristate "OCFS2 file system support" 4fce1affeSTom Seewald depends on INET && SYSFS && CONFIGFS_FS 52fe4371dSAlexey Dobriyan select JBD2 62fe4371dSAlexey Dobriyan select CRC32 72fe4371dSAlexey Dobriyan select QUOTA 82fe4371dSAlexey Dobriyan select QUOTA_TREE 9e6aabe0cSJan Kara select FS_POSIX_ACL 109636e650SChristoph Hellwig select LEGACY_DIRECT_IO 112fe4371dSAlexey Dobriyan help 122fe4371dSAlexey Dobriyan OCFS2 is a general purpose extent based shared disk cluster file 132fe4371dSAlexey Dobriyan system with many similarities to ext3. It supports 64 bit inode 142fe4371dSAlexey Dobriyan numbers, and has automatically extending metadata groups which may 152fe4371dSAlexey Dobriyan also make it attractive for non-clustered use. 162fe4371dSAlexey Dobriyan 172fe4371dSAlexey Dobriyan You'll want to install the ocfs2-tools package in order to at least 182fe4371dSAlexey Dobriyan get "mount.ocfs2". 192fe4371dSAlexey Dobriyan 20*5a569db6SAnthony Iliopoulos Project web page: https://ocfs2.wiki.kernel.org/ 21*5a569db6SAnthony Iliopoulos Tools web page: https://github.com/markfasheh/ocfs2-tools 22*5a569db6SAnthony Iliopoulos OCFS2 mailing lists: https://subspace.kernel.org/lists.linux.dev.html 232fe4371dSAlexey Dobriyan 242fe4371dSAlexey Dobriyan For more information on OCFS2, see the file 250c1bc6b8SMauro Carvalho Chehab <file:Documentation/filesystems/ocfs2.rst>. 262fe4371dSAlexey Dobriyan 272fe4371dSAlexey Dobriyanconfig OCFS2_FS_O2CB 282fe4371dSAlexey Dobriyan tristate "O2CB Kernelspace Clustering" 292fe4371dSAlexey Dobriyan depends on OCFS2_FS 302fe4371dSAlexey Dobriyan default y 312fe4371dSAlexey Dobriyan help 322fe4371dSAlexey Dobriyan OCFS2 includes a simple kernelspace clustering package, the OCFS2 332fe4371dSAlexey Dobriyan Cluster Base. It only requires a very small userspace component 342fe4371dSAlexey Dobriyan to configure it. This comes with the standard ocfs2-tools package. 352fe4371dSAlexey Dobriyan O2CB is limited to maintaining a cluster for OCFS2 file systems. 362fe4371dSAlexey Dobriyan It cannot manage any other cluster applications. 372fe4371dSAlexey Dobriyan 382fe4371dSAlexey Dobriyan It is always safe to say Y here, as the clustering method is 392fe4371dSAlexey Dobriyan run-time selectable. 402fe4371dSAlexey Dobriyan 412fe4371dSAlexey Dobriyanconfig OCFS2_FS_USERSPACE_CLUSTER 422fe4371dSAlexey Dobriyan tristate "OCFS2 Userspace Clustering" 432fe4371dSAlexey Dobriyan depends on OCFS2_FS && DLM 442fe4371dSAlexey Dobriyan default y 452fe4371dSAlexey Dobriyan help 462fe4371dSAlexey Dobriyan This option will allow OCFS2 to use userspace clustering services 472fe4371dSAlexey Dobriyan in conjunction with the DLM in fs/dlm. If you are using a 482fe4371dSAlexey Dobriyan userspace cluster manager, say Y here. 492fe4371dSAlexey Dobriyan 502fe4371dSAlexey Dobriyan It is safe to say Y, as the clustering method is run-time 512fe4371dSAlexey Dobriyan selectable. 522fe4371dSAlexey Dobriyan 532fe4371dSAlexey Dobriyanconfig OCFS2_FS_STATS 542fe4371dSAlexey Dobriyan bool "OCFS2 statistics" 558757241eSSunil Mushran depends on OCFS2_FS && DEBUG_FS 562fe4371dSAlexey Dobriyan default y 572fe4371dSAlexey Dobriyan help 582fe4371dSAlexey Dobriyan This option allows some fs statistics to be captured. Enabling 592fe4371dSAlexey Dobriyan this option may increase the memory consumption. 602fe4371dSAlexey Dobriyan 612fe4371dSAlexey Dobriyanconfig OCFS2_DEBUG_MASKLOG 622fe4371dSAlexey Dobriyan bool "OCFS2 logging support" 632fe4371dSAlexey Dobriyan depends on OCFS2_FS 642fe4371dSAlexey Dobriyan default y 652fe4371dSAlexey Dobriyan help 662fe4371dSAlexey Dobriyan The ocfs2 filesystem has an extensive logging system. The system 672fe4371dSAlexey Dobriyan allows selection of events to log via files in /sys/o2cb/logmask/. 682fe4371dSAlexey Dobriyan This option will enlarge your kernel, but it allows debugging of 692fe4371dSAlexey Dobriyan ocfs2 filesystem issues. 702fe4371dSAlexey Dobriyan 712fe4371dSAlexey Dobriyanconfig OCFS2_DEBUG_FS 722fe4371dSAlexey Dobriyan bool "OCFS2 expensive checks" 732fe4371dSAlexey Dobriyan depends on OCFS2_FS 742fe4371dSAlexey Dobriyan default n 752fe4371dSAlexey Dobriyan help 762fe4371dSAlexey Dobriyan This option will enable expensive consistency checks. Enable 772fe4371dSAlexey Dobriyan this option for debugging only as it is likely to decrease 782fe4371dSAlexey Dobriyan performance of the filesystem. 79