18c2ecf20Sopenharmony_ciWhat:		/sys/fs/ocfs2/
28c2ecf20Sopenharmony_ciDate:		April 2008
38c2ecf20Sopenharmony_ciContact:	ocfs2-devel@oss.oracle.com
48c2ecf20Sopenharmony_ciDescription:
58c2ecf20Sopenharmony_ci		The /sys/fs/ocfs2 directory contains knobs used by the
68c2ecf20Sopenharmony_ci		ocfs2-tools to interact with the filesystem.
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ciWhat:		/sys/fs/ocfs2/max_locking_protocol
98c2ecf20Sopenharmony_ciDate:		April 2008
108c2ecf20Sopenharmony_ciContact:	ocfs2-devel@oss.oracle.com
118c2ecf20Sopenharmony_ciDescription:
128c2ecf20Sopenharmony_ci		The /sys/fs/ocfs2/max_locking_protocol file displays version
138c2ecf20Sopenharmony_ci		of ocfs2 locking supported by the filesystem.  This version
148c2ecf20Sopenharmony_ci		covers how ocfs2 uses distributed locking between cluster
158c2ecf20Sopenharmony_ci		nodes.
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci		The protocol version has a major and minor number.  Two
188c2ecf20Sopenharmony_ci		cluster nodes can interoperate if they have an identical
198c2ecf20Sopenharmony_ci		major number and an overlapping minor number - thus,
208c2ecf20Sopenharmony_ci		a node with version 1.10 can interoperate with a node
218c2ecf20Sopenharmony_ci		sporting version 1.8, as long as both use the 1.8 protocol.
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci		Reading from this file returns a single line, the major
248c2ecf20Sopenharmony_ci		number and minor number joined by a period, eg "1.10".
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci		This file is read-only.  The value is compiled into the
278c2ecf20Sopenharmony_ci		driver.
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ciWhat:		/sys/fs/ocfs2/loaded_cluster_plugins
308c2ecf20Sopenharmony_ciDate:		April 2008
318c2ecf20Sopenharmony_ciContact:	ocfs2-devel@oss.oracle.com
328c2ecf20Sopenharmony_ciDescription:
338c2ecf20Sopenharmony_ci		The /sys/fs/ocfs2/loaded_cluster_plugins file describes
348c2ecf20Sopenharmony_ci		the available plugins to support ocfs2 cluster operation.
358c2ecf20Sopenharmony_ci		A cluster plugin is required to use ocfs2 in a cluster.
368c2ecf20Sopenharmony_ci		There are currently two available plugins:
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ci		* 'o2cb' - The classic o2cb cluster stack that ocfs2 has
398c2ecf20Sopenharmony_ci			used since its inception.
408c2ecf20Sopenharmony_ci		* 'user' - A plugin supporting userspace cluster software
418c2ecf20Sopenharmony_ci			in conjunction with fs/dlm.
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ci		Reading from this file returns the names of all loaded
448c2ecf20Sopenharmony_ci		plugins, one per line.
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ci		This file is read-only.  Its contents may change as
478c2ecf20Sopenharmony_ci		plugins are loaded or removed.
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ciWhat:		/sys/fs/ocfs2/active_cluster_plugin
508c2ecf20Sopenharmony_ciDate:		April 2008
518c2ecf20Sopenharmony_ciContact:	ocfs2-devel@oss.oracle.com
528c2ecf20Sopenharmony_ciDescription:
538c2ecf20Sopenharmony_ci		The /sys/fs/ocfs2/active_cluster_plugin displays which
548c2ecf20Sopenharmony_ci		cluster plugin is currently in use by the filesystem.
558c2ecf20Sopenharmony_ci		The active plugin will appear in the loaded_cluster_plugins
568c2ecf20Sopenharmony_ci		file as well.  Only one plugin can be used at a time.
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ci		Reading from this file returns the name of the active plugin
598c2ecf20Sopenharmony_ci		on a single line.
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ci		This file is read-only.  Which plugin is active depends on
628c2ecf20Sopenharmony_ci		the cluster stack in use.  The contents may change
638c2ecf20Sopenharmony_ci		when all filesystems are unmounted and the cluster stack
648c2ecf20Sopenharmony_ci		is changed.
658c2ecf20Sopenharmony_ci
668c2ecf20Sopenharmony_ciWhat:		/sys/fs/ocfs2/cluster_stack
678c2ecf20Sopenharmony_ciDate:		April 2008
688c2ecf20Sopenharmony_ciContact:	ocfs2-devel@oss.oracle.com
698c2ecf20Sopenharmony_ciDescription:
708c2ecf20Sopenharmony_ci		The /sys/fs/ocfs2/cluster_stack file contains the name
718c2ecf20Sopenharmony_ci		of current ocfs2 cluster stack.  This value is set by
728c2ecf20Sopenharmony_ci		userspace tools when bringing the cluster stack online.
738c2ecf20Sopenharmony_ci
748c2ecf20Sopenharmony_ci		Cluster stack names are 4 characters in length.
758c2ecf20Sopenharmony_ci
768c2ecf20Sopenharmony_ci		When the 'o2cb' cluster stack is used, the 'o2cb' cluster
778c2ecf20Sopenharmony_ci		plugin is active.  All other cluster stacks use the 'user'
788c2ecf20Sopenharmony_ci		cluster plugin.
798c2ecf20Sopenharmony_ci
808c2ecf20Sopenharmony_ci		Reading from this file returns the name of the current
818c2ecf20Sopenharmony_ci		cluster stack on a single line.
828c2ecf20Sopenharmony_ci
838c2ecf20Sopenharmony_ci		Writing a new stack name to this file changes the current
848c2ecf20Sopenharmony_ci		cluster stack unless there are mounted ocfs2 filesystems.
858c2ecf20Sopenharmony_ci		If there are mounted filesystems, attempts to change the
868c2ecf20Sopenharmony_ci		stack return an error.
878c2ecf20Sopenharmony_ci
888c2ecf20Sopenharmony_ciUsers:
898c2ecf20Sopenharmony_ci	ocfs2-tools <ocfs2-tools-devel@oss.oracle.com>
90