Re: [PATCH v4 9/9] fstests: btrfs: test UUID consistency for clones with metadata_uuid

Christoph Hellwig <[email protected]>
Newsgroups org.kernel.vger.fstests,org.kernel.vger.linux-btrfs,org.kernel.vger.linux-ext4,org.kernel.vger.linux-xfs
Message-ID <[email protected]>
On Tue, Apr 28, 2026 at 02:42:59PM +0800, Anand Jain wrote:
> Btrfs uses the metadata_uuid superblock feature to change the on-disk UUID
> without rewriting every block header. This patch adds a sanity check to
> ensure UUID consistency when a filesystem with metadata_uuid enabled is
> cloned.

xfs does the same.

Can we abstract out the uuid change and generalize the test?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.