summary refs log tree commit diff
path: root/fs/ocfs2/stackglue.h
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2008-02-01 15:08:23 -0800
committerMark Fasheh <mfasheh@suse.com>2008-04-18 08:56:05 -0700
commitb61817e1166c5e19c08baf05196477cc345e1b1a (patch)
tree8da1c387086313aecdbb8f96fd0ab33417860620 /fs/ocfs2/stackglue.h
parent74ae4e104dfc57017783fc07d5f2f9129062207f (diff)
downloadlinux-b61817e1166c5e19c08baf05196477cc345e1b1a.tar.gz
ocfs2: Add the USERSPACE_STACK incompat bit.
The filesystem gains the USERSPACE_STACK incomat bit and the
s_cluster_info field on the superblock.  When a userspace stack is in
use, the name of the stack is stored on-disk for mount-time
verification.

The "cluster_stack" option is added to mount(2) processing.  The mount
process needs to pass the matching stack name.  If the passed name and
the on-disk name do not match, the mount is failed.

When using the classic o2cb stack, the incompat bit is *not* set and no
mount option is used other than the usual heartbeat=local.  Thus, the
filesystem is compatible with older tools.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/stackglue.h')
0 files changed, 0 insertions, 0 deletions