btrfs-progs/tune
Anand Jain dd718e9f6f btrfs-progs: tune: use the latest bdev in fs_devices for super_copy
Currently, btrfstune relies on the superblock of the device specified
in the btrfstune argument for fs_info::super_copy. However, it should
use fs_devices::latest_bdev, as it points to the device with the highest
fs_devices::generation number. This will contain the superblock updates
that other devices may have missed and we can now support reuniting
devices following failures of btrfstune -m|M|u|U as in the patches:

   btrfs-progs: add support to fix superblock with CHANGING_FSID_V2 flag
   btrfs-progs: recover from the failed btrfstune -m|M

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2023-10-03 01:11:55 +02:00
..
change-csum.c btrfs-progs: fix more typos found by codespell 2023-08-28 17:24:24 +02:00
change-metadata-uuid.c btrfs-progs: tune: fix return without flag reset commit 2023-08-28 17:24:58 +02:00
change-uuid.c btrfs-progs: track changing_fsid flag in fs_devices 2023-08-23 19:36:31 +02:00
convert-bgt.c btrfs-progs: fix -Wmissing-prototypes warnings 2023-05-26 18:02:31 +02:00
main.c btrfs-progs: tune: use the latest bdev in fs_devices for super_copy 2023-10-03 01:11:55 +02:00
quota.c btrfs-progs: tune: add support for squota 2023-10-03 01:11:55 +02:00
seeding.c btrfs-progs: fix -Wmissing-prototypes warnings 2023-05-26 18:02:31 +02:00
tune.h btrfs-progs: tune: add support for squota 2023-10-03 01:11:55 +02:00