[PATCH v2 1/2] erofs-utils: sort shared xattr

Gao Xiang hsiangkao at linux.alibaba.com
Wed Dec 15 02:31:13 AEDT 2021


Hi Jianan,

On Tue, Dec 14, 2021 at 05:52:01PM +0800, Huang Jianan via Linux-erofs wrote:
> Sort shared xattr before writing to disk to ensure the consistency
> of reproducible builds.
> 
> Signed-off-by: Huang Jianan <huangjianan at oppo.com>

I still fail to understand why the order of shared xattrs will be
a problem of reproducible builds.

IOWs, if the order of shared xattrs is really a problem, do we need
to sort inline xattrs as well? Or do you have some reproducer to
show why the order of shared xattrs can be changed if the filesystem
of srcdir isn't changed?

Thanks,
Gao Xiang



More information about the Linux-erofs mailing list