Re: [PATCH v4 9/9] fstests: btrfs: test UUID consistency for clones with metadata_uuid
Anand Jain <[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 12/5/26 13:40, Christoph Hellwig wrote: > 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? Sure. let me try. Thanks.