• J
    ocfs2: Add the USERSPACE_STACK incompat bit. · b61817e1
    Joel Becker 提交于
    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: NJoel Becker <joel.becker@oracle.com>
    Signed-off-by: NMark Fasheh <mfasheh@suse.com>
    b61817e1
ocfs2_fs.h 27.5 KB