]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ocfs2: Add the USERSPACE_STACK incompat bit.
authorJoel Becker <joel.becker@oracle.com>
Fri, 1 Feb 2008 23:08:23 +0000 (15:08 -0800)
committerMark Fasheh <mfasheh@suse.com>
Fri, 18 Apr 2008 15:56:05 +0000 (08:56 -0700)
commitb61817e1166c5e19c08baf05196477cc345e1b1a
tree8da1c387086313aecdbb8f96fd0ab33417860620
parent74ae4e104dfc57017783fc07d5f2f9129062207f
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>
fs/ocfs2/ocfs2.h
fs/ocfs2/ocfs2_fs.h
fs/ocfs2/super.c