[PATCH RESEND] erofs: micro-optimize superblock checksum

Chao Yu chao at kernel.org
Thu Jan 16 19:28:14 AEDT 2025


On 12/12/24 10:39, Gao Xiang wrote:
> Just verify the remaining unknown on-disk data instead of allocating a
> temporary buffer for the whole superblock and zeroing out the checksum
> field since .magic(EROFS_SUPER_MAGIC_V1) is verified and .checksum(0)
> is fixed.
> 
> Signed-off-by: Gao Xiang <hsiangkao at linux.alibaba.com>

Reviewed-by: Chao Yu <chao at kernel.org>

Thanks,


More information about the Linux-erofs mailing list