Whamcloud - gitweb
EX-8851 lustre: add uncompressed size to compression header
authorPatrick Farrell <pfarrell@whamcloud.com>
Wed, 20 Dec 2023 19:51:55 +0000 (14:51 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 18 Jan 2024 09:27:03 +0000 (09:27 +0000)
commit7ac05313beaf1492d63a5d78170de3d7ab82460b
tree2d552aa1b212b8f3b67c9cf25551ea90ea8ae801
parentf72454ec16468cab74dcc2609005dc8cee413000
EX-8851 lustre: add uncompressed size to compression header

It's useful to have the uncompressed size of the data in the
compression header.  Also, we have three checksum fields -
compressed, uncompressed, and header, but in practice,
checksumming the compressed data including the header is
enough to cover all of these.

This patch cleans up all of this at the same time.

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: Ie82e0dbe9c862ddc88999b109cea1f27577dbbff
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53520
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/obdclass/lustre_compr.c
lustre/ofd/ofd_compress.c
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c