162306a36Sopenharmony_ciWhat:		/sys/fs/ocfs2/
262306a36Sopenharmony_ciDate:		April 2008
362306a36Sopenharmony_ciContact:	ocfs2-devel@lists.linux.dev
462306a36Sopenharmony_ciDescription:
562306a36Sopenharmony_ci		The /sys/fs/ocfs2 directory contains knobs used by the
662306a36Sopenharmony_ci		ocfs2-tools to interact with the filesystem.
762306a36Sopenharmony_ci
862306a36Sopenharmony_ciWhat:		/sys/fs/ocfs2/max_locking_protocol
962306a36Sopenharmony_ciDate:		April 2008
1062306a36Sopenharmony_ciContact:	ocfs2-devel@lists.linux.dev
1162306a36Sopenharmony_ciDescription:
1262306a36Sopenharmony_ci		The /sys/fs/ocfs2/max_locking_protocol file displays version
1362306a36Sopenharmony_ci		of ocfs2 locking supported by the filesystem.  This version
1462306a36Sopenharmony_ci		covers how ocfs2 uses distributed locking between cluster
1562306a36Sopenharmony_ci		nodes.
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ci		The protocol version has a major and minor number.  Two
1862306a36Sopenharmony_ci		cluster nodes can interoperate if they have an identical
1962306a36Sopenharmony_ci		major number and an overlapping minor number - thus,
2062306a36Sopenharmony_ci		a node with version 1.10 can interoperate with a node
2162306a36Sopenharmony_ci		sporting version 1.8, as long as both use the 1.8 protocol.
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ci		Reading from this file returns a single line, the major
2462306a36Sopenharmony_ci		number and minor number joined by a period, eg "1.10".
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ci		This file is read-only.  The value is compiled into the
2762306a36Sopenharmony_ci		driver.
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ciWhat:		/sys/fs/ocfs2/loaded_cluster_plugins
3062306a36Sopenharmony_ciDate:		April 2008
3162306a36Sopenharmony_ciContact:	ocfs2-devel@lists.linux.dev
3262306a36Sopenharmony_ciDescription:
3362306a36Sopenharmony_ci		The /sys/fs/ocfs2/loaded_cluster_plugins file describes
3462306a36Sopenharmony_ci		the available plugins to support ocfs2 cluster operation.
3562306a36Sopenharmony_ci		A cluster plugin is required to use ocfs2 in a cluster.
3662306a36Sopenharmony_ci		There are currently two available plugins:
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ci		* 'o2cb' - The classic o2cb cluster stack that ocfs2 has
3962306a36Sopenharmony_ci			used since its inception.
4062306a36Sopenharmony_ci		* 'user' - A plugin supporting userspace cluster software
4162306a36Sopenharmony_ci			in conjunction with fs/dlm.
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_ci		Reading from this file returns the names of all loaded
4462306a36Sopenharmony_ci		plugins, one per line.
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_ci		This file is read-only.  Its contents may change as
4762306a36Sopenharmony_ci		plugins are loaded or removed.
4862306a36Sopenharmony_ci
4962306a36Sopenharmony_ciWhat:		/sys/fs/ocfs2/active_cluster_plugin
5062306a36Sopenharmony_ciDate:		April 2008
5162306a36Sopenharmony_ciContact:	ocfs2-devel@lists.linux.dev
5262306a36Sopenharmony_ciDescription:
5362306a36Sopenharmony_ci		The /sys/fs/ocfs2/active_cluster_plugin displays which
5462306a36Sopenharmony_ci		cluster plugin is currently in use by the filesystem.
5562306a36Sopenharmony_ci		The active plugin will appear in the loaded_cluster_plugins
5662306a36Sopenharmony_ci		file as well.  Only one plugin can be used at a time.
5762306a36Sopenharmony_ci
5862306a36Sopenharmony_ci		Reading from this file returns the name of the active plugin
5962306a36Sopenharmony_ci		on a single line.
6062306a36Sopenharmony_ci
6162306a36Sopenharmony_ci		This file is read-only.  Which plugin is active depends on
6262306a36Sopenharmony_ci		the cluster stack in use.  The contents may change
6362306a36Sopenharmony_ci		when all filesystems are unmounted and the cluster stack
6462306a36Sopenharmony_ci		is changed.
6562306a36Sopenharmony_ci
6662306a36Sopenharmony_ciWhat:		/sys/fs/ocfs2/cluster_stack
6762306a36Sopenharmony_ciDate:		April 2008
6862306a36Sopenharmony_ciContact:	ocfs2-devel@lists.linux.dev
6962306a36Sopenharmony_ciDescription:
7062306a36Sopenharmony_ci		The /sys/fs/ocfs2/cluster_stack file contains the name
7162306a36Sopenharmony_ci		of current ocfs2 cluster stack.  This value is set by
7262306a36Sopenharmony_ci		userspace tools when bringing the cluster stack online.
7362306a36Sopenharmony_ci
7462306a36Sopenharmony_ci		Cluster stack names are 4 characters in length.
7562306a36Sopenharmony_ci
7662306a36Sopenharmony_ci		When the 'o2cb' cluster stack is used, the 'o2cb' cluster
7762306a36Sopenharmony_ci		plugin is active.  All other cluster stacks use the 'user'
7862306a36Sopenharmony_ci		cluster plugin.
7962306a36Sopenharmony_ci
8062306a36Sopenharmony_ci		Reading from this file returns the name of the current
8162306a36Sopenharmony_ci		cluster stack on a single line.
8262306a36Sopenharmony_ci
8362306a36Sopenharmony_ci		Writing a new stack name to this file changes the current
8462306a36Sopenharmony_ci		cluster stack unless there are mounted ocfs2 filesystems.
8562306a36Sopenharmony_ci		If there are mounted filesystems, attempts to change the
8662306a36Sopenharmony_ci		stack return an error.
8762306a36Sopenharmony_ci
8862306a36Sopenharmony_ciUsers:
8962306a36Sopenharmony_ci	ocfs2-tools <ocfs2-tools-devel@lists.linux.dev>
90