Skip to content

fix s_uuid and f_fsid consistency for cloned filesystems

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. v3 Latest2 patches 2 repliesIn review
  2. v23 patches 20 repliesSuperseded
  3. v13 patches 15 repliesSuperseded

Changes in v3 from the cover letter

Thanks for the input. The plan to implement a consistent f_fsid across all major filesystems has been dropped for now, so ext4 patch is removed. Please refer to the discussion here [1]:

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: use on-disk uuid for s_uuid in temp_fsid mountsfs/btrfs/disk-io.c+10 -10 replies
2/2btrfs: derive f_fsid from on-disk fsuuid and dev_tfs/btrfs/super.c+33 -82 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/2] fix s_uuid and f_fsid consistency for cloned filesystems

v3:
Thanks for the input. The plan to implement a consistent f_fsid across all major filesystems has been dropped for now, so ext4 patch is removed. Please refer to the discussion here [1]:

    [1] https://lore.kernel.org/linux-btrfs/33e8eb64c304a4d42b60f608c26497bf9a2e9e19.1774092915.git.asj@kernel.org/#t

This patch set specifically addresses the issue reported by OverlayFS [2] regarding cloned Btrfs filesystems.

    [2] https://lore.kernel.org/linux-btrfs/[email protected]

v2:
https://lore.kernel.org/linux-btrfs/[email protected]

Anand Jain (2):
btrfs: use on-disk uuid for s_uuid in temp_fsid mounts
btrfs: derive f_fsid from on-disk fsuuid and dev_t

 fs/btrfs/disk-io.c | 11 ++++++++++-
 fs/btrfs/super.c   | 41 +++++++++++++++++++++++++++++++++--------
 2 files changed, 43 insertions(+), 9 deletions(-)
Signature · 1 line
2.43.0