[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f2c93019-5f92-4ee2-88bc-feda330d8a55@linux.alibaba.com>
Date: Fri, 15 Aug 2025 17:04:37 +0800
From: Gao Xiang <hsiangkao@...ux.alibaba.com>
To: wangzijie <wangzijie1@...or.com>, xiang@...nel.org
Cc: linux-erofs@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
bintian.wang@...or.com, feng.han@...or.com, Yifan Zhao <stopire@...il.com>,
Yifan Zhao <zhaoyifan28@...wei.com>
Subject: Re: [PATCH] erofs-utils: avoid redundant memcpy and sha256() for
dedupe
Hi Zijie,
On 2025/8/15 16:44, wangzijie wrote:
> We have already use xxh64() for filtering first for dedupe, when we
> 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@...or.com>
Thanks for the patch, it makes sense to me since we only keep one
record according to xxh64 (instead of sha256) for now:
Reviewed-by: Gao Xiang <hsiangkao@...ux.alibaba.com>
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... ;-)
Thanks,
Gao Xiang
Powered by blists - more mailing lists