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