diff options
author | Gao Xiang <hsiangkao@linux.alibaba.com> | 2024-12-12 05:39:48 +0300 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2025-01-16 22:17:32 +0300 |
commit | 54ab25d03eab652a321c3d1566edc2b050d83f2f (patch) | |
tree | b84e5397e39604ecb17459cc839403612a3dc013 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a78c5c2269e39544fab4140105f55fca4502e915 (diff) | |
download | linux-54ab25d03eab652a321c3d1566edc2b050d83f2f.tar.xz |
erofs: micro-optimize superblock checksum
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.
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20241212023948.1143038-1-hsiangkao@linux.alibaba.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions