• Josef Bacik's avatar
    Btrfs: add support for compat flags to btrfs · f2b636e8
    Josef Bacik authored
    This adds the necessary disk format for handling compatibility flags
    in the future to handle disk format changes.  We have a compat_flags,
    compat_ro_flags and incompat_flags set for the super block.  Compat
    flags will be to hold the features that are compatible with older
    versions of btrfs, compat_ro flags have features that are compatible
    with older versions of btrfs if the fs is mounted read only, and
    incompat_flags has features that are incompatible with older versions
    of btrfs.  This also axes the compat_flags field for the inode and
    just makes the flags field a 64bit field, and changes the root item
    flags field to 64bit.
    Signed-off-by: default avatarJosef Bacik <jbacik@redhat.com>
    f2b636e8
disk-io.c 59.3 KB