[PATCH v2 4/4] erofs-utils: mkfs: add `--inode-digest-xattr` option

Gao Xiang hsiangkao at linux.alibaba.com
Tue Dec 30 15:37:53 AEDT 2025



On 2025/12/30 11:44, Hongbo Li wrote:
> 
> 
> On 2025/12/30 2:06, Gao Xiang wrote:
>> Based on the original Hongbo's version [1], it enables storing the
>> SHA-256 digest of each inode as an extended attribute, in preparation
>> for the upcoming page cache sharing feature.
>>
>> Example usage:
>>   $ mkfs.erofs --xattr-inode-digest=trusted.erofs.fingerprint [-zlz4hc] foo.erofs foo/
>>
>> Co-developed-by: Hongbo Li <lihongbo22 at huawei.com>
>> [1] https://lore.kernel.org/r/20251118015849.228939-1-lihongbo22@huawei.com
>> Signed-off-by: Gao Xiang <hsiangkao at linux.alibaba.com>
> 
> Maybe the subject should be changed to "erofs-utils: mkfs: add `--xattr-inode-digest` option".

Updated.

> 
> Tested-by: Hongbo Li <lihongbo22 at huawei.com>

Thanks!

Thanks,
Gao Xiang

> 
> Thanks,
> Hongbo


More information about the Linux-erofs mailing list