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