• Anand Jain's avatar
    btrfs: remove incomplete metadata_uuid conversion fixup logic · 5966930d
    Anand Jain authored
    Previous commit ("btrfs: reject devices with CHANGING_FSID_V2") has
    stopped the assembly of devices with the CHANGING_FSID_V2 flag in the
    kernel. Such devices can be scanned but will not be registered and can't
    be mounted without a manual fix by btrfstune.  Remove the related logic
    and now unused code.
    
    The original motivation was to allow an interrupted partial conversion
    fix itself on next mount, in case the system has to be rebooted. This is
    a convenience but brings a lot of complexity the device scanning and
    handling the partial states.  It's hard to estimate if this was ever
    needed in practice, expecting the typical use case like a manual
    conversion of an unmounted filesystem where the user can verify the
    success and rerun it eventually.
    Signed-off-by: default avatarAnand Jain <anand.jain@oracle.com>
    Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
    [ add historical context ]
    Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
    5966930d
volumes.h 22.9 KB