metadata_uuid misc cleanup and fixes part2
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 13 repliesIn review
- v14 patches 5 repliesSuperseded
Changes in v2 from the cover letter
The new patch 1/7 peels btrfs_sb_fsid_prt() helper function from 1/4 in v1, This function is used in patch 2/7 and patch 4/7 in v2.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | btrfs: add a helper to read the superblock metadata_uuidfs/ fs/ | +9 | 2 replies | |
| 2/7 | btrfs: simplify memcpy either of metadata_uuid or fsidfs/ | +2 | 1 reply | |
| 3/7 | btrfs: fix fsid in btrfs_validate_superfs/ | +2 | 2 replies | |
| 4/7 | btrfs: fix metadata_uuid in btrfs_validate_superfs/ | +3 | 1 reply | |
| 5/7 | btrfs: drop redundant check to use fs_devices::metadata_uuidfs/ | +5 | 1 reply | |
| 6/7 | btrfs: add a superblock helper to read metadata_uuid or NULLfs/ | +8 | 2 replies | |
| 7/7 | btrfs: use btrfs_sb_metadata_uuid_or_nullfs/ | +1 | 2 replies |
Reviews trailers per patch
5 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Johannes Thumshirn | Guilherme G. Piccoli |
|---|---|---|
| Series | T-b | |
| 1/7 | R-b | |
| 2/7 | R-b | |
| 3/7 | R-b | |
| 4/7 | R-b | |
| 5/7 | R-b | |
| 6/7 | ||
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7 v2] metadata_uuid misc cleanup and fixes part2
v2:
The new patch 1/7 peels btrfs_sb_fsid_prt() helper function from 1/4 in v1, This function is used in patch 2/7 and patch 4/7 in v2.
Patch 6/7, adds btrfs_sb_metadata_uuid_or_null() another helper func, used in 7/7 in volumes.c. Further, used in the upcoming fsid_changing patch. Pushing this set now which are ready. This has passed fstests -g quick.
----- original -----
These patches are cleanups related to metadata_uuid. Please ref to the patch for details.
Anand Jain (7):
btrfs: add a helper to read the superblock metadata_uuid
btrfs: simplify memcpy either of metadata_uuid or fsid
btrfs: fix fsid in btrfs_validate_super
btrfs: fix metadata_uuid in btrfs_validate_super
btrfs: drop redundant check to use fs_devices::metadata_uuid
btrfs: add a superblock helper to read metadata_uuid or NULL
btrfs: use btrfs_sb_metadata_uuid_or_null
fs/btrfs/disk-io.c | 28 ++++++++++------------------ fs/btrfs/volumes.c | 29 +++++++++++++++++++---------- fs/btrfs/volumes.h | 1 + 3 files changed, 30 insertions(+), 28 deletions(-)
Signature · 1 line
2.39.2