summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/export.h
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2008-02-02 00:08:23 +0100
committerMark Fasheh <mfasheh@suse.com>2008-04-18 17:56:05 +0200
commitb61817e1166c5e19c08baf05196477cc345e1b1a (patch)
tree8da1c387086313aecdbb8f96fd0ab33417860620 /fs/ocfs2/export.h
parentocfs2: Create stack glue sysfs files. (diff)
downloadlinux-b61817e1166c5e19c08baf05196477cc345e1b1a.tar.xz
linux-b61817e1166c5e19c08baf05196477cc345e1b1a.zip
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/export.h')
0 files changed, 0 insertions, 0 deletions