Hi Zijie,Hi Xiang,
On 2025/8/15 16:44, wangzijie wrote:
We have already use xxh64() for filtering first for dedupe, when weThanks for the patch, it makes sense to me since we only keep one
need to skip the same xxh64 hash, no need to do memcpy and sha256(),
relocate the code to avoid it.
Signed-off-by: wangzijie <wangzijie1@xxxxxxxxx>
record according to xxh64 (instead of sha256) for now:
Reviewed-by: Gao Xiang <hsiangkao@xxxxxxxxxxxxxxxxx>
Although I think multi-threaded deduplication is more useful, see:
https://github.com/erofs/erofs-utils/issues/25
but I'm not sure if you're interested in it... ;-)
Thank you for providing this information, I want to optimize mkfs time with
dedupe option and send this patch. I will find time to research Yifan's demo
of multi-threaded deduplication and try to provide some help.
Thanks,
Gao Xiang