Re: [RFC PATCH 0/1] ovl: brtfs' temp_fsid doesn't work with ovl index=on
From: Christoph Hellwig
Date: Thu Oct 16 2025 - 00:57:58 EST
On Wed, Oct 15, 2025 at 01:09:26PM +0200, Amir Goldstein wrote:
> FWIW this operation already exists in export_operations.
> It is currently only used by pnfs and only implemented by xfs.
> I would nor object for overlayfs to use this method if implemented
> and fall back to copying uuid directly from s_uuid
The get_uuid export operation is specifically about an on-disk superblock
that the pnfs client can match. Overloading it for in-core information
would be very confusing and also problematic if it doesn't exist on-disk
in this format. In retrospective it should be called get_disk_uuid or
something similar.