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