Whamcloud - gitweb
EX-7795 scripts: add whole file to compression scan
authorPatrick Farrell <pfarrell@whamcloud.com>
Mon, 18 Sep 2023 21:12:46 +0000 (17:12 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 22 Sep 2023 23:57:17 +0000 (23:57 +0000)
commit111451ea3ae28f18335b0bf1539488a913886026
tree1d6785e6c0ccd5c695e7116da7fdce68e4f8168c
parent9133f59704c94625e4045a2d32a76e4739110c2e
EX-7795 scripts: add whole file to compression scan

Add a mode where the compression scan script compresses the
entire file, which in theory should 100% match the
compression results from using CSDC and allow a test to
calculate the exact space usage reduction expected by
using CSDC.

This is intended to be used mostly for testing.

Change help documentation slightly to make clear this can
also accept a path to a single file.

Test-Parameters: trivial
Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: I606a33d686d87dd631bf5b33dc85ee8c24fe9f67
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52406
Tested-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/scripts/ll_compression_scan