• Kent Overstreet's avatar
    bcachefs: bcachefs_metadata_version_major_minor · ba8eeae8
    Kent Overstreet authored
    This introduces major/minor versioning to the superblock version number.
    Major version number changes indicate incompatible releases; we can move
    forward to a new major version number, but not backwards. Minor version
    numbers indicate compatible changes - these add features, but can still
    be mounted and used by old versions.
    
    With the recent patches that make it possible to roll out new btrees and
    key types without breaking compatibility, we should be able to roll out
    most new features without incompatible changes.
    Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
    ba8eeae8
btree_io.c 57.3 KB