Whamcloud - gitweb
EX-8688 csdc: Add header checksum verification and calculation
authorArtem Blagodarenko <ablagodarenko@ddn.com>
Wed, 20 Dec 2023 22:53:26 +0000 (22:53 +0000)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 8 Feb 2024 08:57:58 +0000 (08:57 +0000)
commit7546ae79e9525384fc1aa4ee51690ccd1c4a8b79
treeda00487ca0458c012d190ce385562b1371634c12
parent6479ba45e099beab27439f189773c80455c1a88d
EX-8688 csdc: Add header checksum verification and calculation

This commit adds functionality to verify and calculate the checksum
of the header in the `ll_compr_hdr` struct and some another sanity
check.

Signed-off-by: Artem Blagodarenko <ablagodarenko@ddn.com>
Change-Id: I24a9ab9cb7bea1208ada23aa6550127fe6a55017
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53521
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Vitaliy Kuznetsov <vkuznetsov@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/lustre_compr.h
lustre/include/obd_support.h
lustre/obdclass/lustre_compr.c
lustre/ofd/ofd_compress.c
lustre/ofd/ofd_compress.h
lustre/ofd/ofd_io.c
lustre/osc/osc_compress.c
lustre/tests/Makefile.am
lustre/tests/compressed.bin [new file with mode: 0644]
lustre/tests/sanity-compr.sh