Whamcloud - gitweb
EX-8423 csdc: disable gzip
authorSergey Cheremencev <scherementsev@ddn.com>
Sat, 27 Apr 2024 10:22:15 +0000 (13:22 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 8 May 2024 05:56:46 +0000 (05:56 +0000)
commit53dd091d4998601a70aa2348a13f5187df118f25
tree528f5e53fdf9662db3836b14872ffb9e731341cc
parent2dc656ddb3acfd21600c463f820d15e91f19e1f8
EX-8423 csdc: disable gzip

Gzip compression periodically causes
following assertion on clients:

 decompress_request()) ASSERTION( dst_size <= chunk_size )

Until this is not fixed:
1. forbid setting gzip layout
2. remove gzip from sanity-compr.sh, sanity.sh, sanity-flr.sh,
   sanity-lfsck.sh, sanity-pfl.sh
3. remove gzip from ll_compression_scan

There is still a backdoor to set gzip for test purposes,
if set LFS_SETSTRIPE_COMPR_OK. When set, gzip will be applied
in sanity-flr(43c, 43d) and sanity-compr(1a).

Signed-off-by: Sergey Cheremencev <scherementsev@ddn.com>
Signed-off-by: Artem Blagodarenko <ablagodarenko@ddn.com>
Change-Id: I5461ba756dcd15e0d705f3a3c51a125a59ec19a5
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54943
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/doc/lfs-setstripe.1
lustre/ldlm/ldlm_lib.c
lustre/obdclass/lustre_compr.c
lustre/scripts/ll_compression_scan
lustre/tests/sanity-compr.sh
lustre/tests/sanity-flr.sh
lustre/tests/sanity-lfsck.sh
lustre/tests/sanity-pfl.sh
lustre/tests/sanity.sh
lustre/utils/liblustreapi_layout.c