Whamcloud - gitweb
EX-7795 tests: add sanity-compr test for compression
authorJian Yu <yujian@whamcloud.com>
Tue, 9 Jan 2024 07:09:10 +0000 (23:09 -0800)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 13 Jan 2024 02:46:16 +0000 (02:46 +0000)
commit15387f845b6a3f7a68dc3913c39c9d44dfd719a1
tree80cfe263a482729ae1b3fff0e52837e5538c468c
parentcca275d7fead875dbb6e3e10b1ebf18ab75f4f5b
EX-7795 tests: add sanity-compr test for compression

This patch adds a sanity-compr test to validate that
we get space usage reduction with compression.
The test uses ll_compression_scan tool to calculate
the compressed size of the source file and compares
it with the size of the Lustre CSDC compressed file.

Test-Parameters: trivial env=ONLY=1007 testlist=sanity-compr

Change-Id: Icf763331205a3e937b794f90444f756fc59f9050
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52895
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sarah Liu <sarah@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre.spec.in
lustre/scripts/Makefile.am
lustre/tests/sanity-compr.sh