xref: /openbmc/linux/fs/ocfs2/Kconfig (revision 0c1bc6b8)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
22fe4371dSAlexey Dobriyanconfig OCFS2_FS
32fe4371dSAlexey Dobriyan	tristate "OCFS2 file system support"
47b1fff7eSNicholas Bellinger	depends on NET && 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
102fe4371dSAlexey Dobriyan	help
112fe4371dSAlexey Dobriyan	  OCFS2 is a general purpose extent based shared disk cluster file
122fe4371dSAlexey Dobriyan	  system with many similarities to ext3. It supports 64 bit inode
132fe4371dSAlexey Dobriyan	  numbers, and has automatically extending metadata groups which may
142fe4371dSAlexey Dobriyan	  also make it attractive for non-clustered use.
152fe4371dSAlexey Dobriyan
162fe4371dSAlexey Dobriyan	  You'll want to install the ocfs2-tools package in order to at least
172fe4371dSAlexey Dobriyan	  get "mount.ocfs2".
182fe4371dSAlexey Dobriyan
192fe4371dSAlexey Dobriyan	  Project web page:    http://oss.oracle.com/projects/ocfs2
202fe4371dSAlexey Dobriyan	  Tools web page:      http://oss.oracle.com/projects/ocfs2-tools
212fe4371dSAlexey Dobriyan	  OCFS2 mailing lists: http://oss.oracle.com/projects/ocfs2/mailman/
222fe4371dSAlexey Dobriyan
232fe4371dSAlexey Dobriyan	  For more information on OCFS2, see the file
240c1bc6b8SMauro Carvalho Chehab	  <file:Documentation/filesystems/ocfs2.rst>.
252fe4371dSAlexey Dobriyan
262fe4371dSAlexey Dobriyanconfig OCFS2_FS_O2CB
272fe4371dSAlexey Dobriyan	tristate "O2CB Kernelspace Clustering"
282fe4371dSAlexey Dobriyan	depends on OCFS2_FS
292fe4371dSAlexey Dobriyan	default y
302fe4371dSAlexey Dobriyan	help
312fe4371dSAlexey Dobriyan	  OCFS2 includes a simple kernelspace clustering package, the OCFS2
322fe4371dSAlexey Dobriyan	  Cluster Base.  It only requires a very small userspace component
332fe4371dSAlexey Dobriyan	  to configure it. This comes with the standard ocfs2-tools package.
342fe4371dSAlexey Dobriyan	  O2CB is limited to maintaining a cluster for OCFS2 file systems.
352fe4371dSAlexey Dobriyan	  It cannot manage any other cluster applications.
362fe4371dSAlexey Dobriyan
372fe4371dSAlexey Dobriyan	  It is always safe to say Y here, as the clustering method is
382fe4371dSAlexey Dobriyan	  run-time selectable.
392fe4371dSAlexey Dobriyan
402fe4371dSAlexey Dobriyanconfig OCFS2_FS_USERSPACE_CLUSTER
412fe4371dSAlexey Dobriyan	tristate "OCFS2 Userspace Clustering"
422fe4371dSAlexey Dobriyan	depends on OCFS2_FS && DLM
432fe4371dSAlexey Dobriyan	default y
442fe4371dSAlexey Dobriyan	help
452fe4371dSAlexey Dobriyan	  This option will allow OCFS2 to use userspace clustering services
462fe4371dSAlexey Dobriyan	  in conjunction with the DLM in fs/dlm.  If you are using a
472fe4371dSAlexey Dobriyan	  userspace cluster manager, say Y here.
482fe4371dSAlexey Dobriyan
492fe4371dSAlexey Dobriyan	  It is safe to say Y, as the clustering method is run-time
502fe4371dSAlexey Dobriyan	  selectable.
512fe4371dSAlexey Dobriyan
522fe4371dSAlexey Dobriyanconfig OCFS2_FS_STATS
532fe4371dSAlexey Dobriyan	bool "OCFS2 statistics"
548757241eSSunil Mushran	depends on OCFS2_FS && DEBUG_FS
552fe4371dSAlexey Dobriyan	default y
562fe4371dSAlexey Dobriyan	help
572fe4371dSAlexey Dobriyan	  This option allows some fs statistics to be captured. Enabling
582fe4371dSAlexey Dobriyan	  this option may increase the memory consumption.
592fe4371dSAlexey Dobriyan
602fe4371dSAlexey Dobriyanconfig OCFS2_DEBUG_MASKLOG
612fe4371dSAlexey Dobriyan	bool "OCFS2 logging support"
622fe4371dSAlexey Dobriyan	depends on OCFS2_FS
632fe4371dSAlexey Dobriyan	default y
642fe4371dSAlexey Dobriyan	help
652fe4371dSAlexey Dobriyan	  The ocfs2 filesystem has an extensive logging system.  The system
662fe4371dSAlexey Dobriyan	  allows selection of events to log via files in /sys/o2cb/logmask/.
672fe4371dSAlexey Dobriyan	  This option will enlarge your kernel, but it allows debugging of
682fe4371dSAlexey Dobriyan	  ocfs2 filesystem issues.
692fe4371dSAlexey Dobriyan
702fe4371dSAlexey Dobriyanconfig OCFS2_DEBUG_FS
712fe4371dSAlexey Dobriyan	bool "OCFS2 expensive checks"
722fe4371dSAlexey Dobriyan	depends on OCFS2_FS
732fe4371dSAlexey Dobriyan	default n
742fe4371dSAlexey Dobriyan	help
752fe4371dSAlexey Dobriyan	  This option will enable expensive consistency checks. Enable
762fe4371dSAlexey Dobriyan	  this option for debugging only as it is likely to decrease
772fe4371dSAlexey Dobriyan	  performance of the filesystem.
78