Skip to content

btrfs-progs: recover from failed metadata_uuid port kernel

Anand Jain linux-btrfs 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 6 repliesIn review
  2. v35 patches 4 repliesSuperseded
  3. v116 patches 7 repliesSuperseded

Changes in v4 from the cover letter

Remove the patch that has already been merged.
Update the commit log of 1/4 as per David's review comment (Thanks). No code changes.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4btrfs-progs: tune use the latest bdev in fs_devices for super_copytune/main.c+3 -00 replies
2/4btrfs-progs: add support to fix superblock with CHANGING_FSID_V2 flagkernel-shared/volumes.c kernel-shared/volumes.h+182 -120 replies
3/4btrfs-progs: recover from the failed btrfstune -m|Mtune/change-metadata-uuid.c tune/change-uuid.c tune/tune.h+42 -120 replies
4/4btrfs-progs: test btrfstune -m|M ability to fix previous failurestests/misc-tests/034-metadata-uuid/test.sh+53 -175 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH 0/4 v4] btrfs-progs: recover from failed metadata_uuid port kernel

v4:
Remove the patch that has already been merged.
Update the commit log of 1/4 as per David's review comment (Thanks). No code changes.

v3:
This current patchset contains the remaining unmerged patches and addresses the reported bug:

bug report: https://github.com/kdave/btrfs-progs/actions/runs/5956097489/job/16156138260

In v3 of this patchset, btrfs_fs_devices::inconsistent_super variable added, which helps determine whether all the devices in the fs_devices share the same fsid and metadata_uuid.

v2:
The earlier revision, v2, of this patchset consisted of 16 patches, out of which 12 have already been merged into the devel branch.

v2: https://patchwork.kernel.org/project/linux-btrfs/list/?series=776027

Anand Jain (4):
btrfs-progs: tune use the latest bdev in fs_devices for super_copy
btrfs-progs: add support to fix superblock with CHANGING_FSID_V2 flag
btrfs-progs: recover from the failed btrfstune -m|M
btrfs-progs: test btrfstune -m|M ability to fix previous failures

 kernel-shared/volumes.c                    | 193 +++++++++++++++++++--
 kernel-shared/volumes.h                    |   1 +
 tests/misc-tests/034-metadata-uuid/test.sh |  70 ++++++--
 tune/change-metadata-uuid.c                |  48 ++++-
 tune/change-uuid.c                         |   4 +-
 tune/main.c                                |   3 +
 tune/tune.h                                |   2 -
 7 files changed, 280 insertions(+), 41 deletions(-)
Signature · 1 line
2.38.1