Re: [PATCH RESEND] erofs: micro-optimize superblock checksum

From: Chao Yu
Date: Thu Jan 16 2025 - 03:28:25 EST


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@xxxxxxxxxxxxxxxxx>

Reviewed-by: Chao Yu <chao@xxxxxxxxxx>

Thanks,