Whamcloud - gitweb
EX-8311 csdc: allow specify 'fast'/'best' compression type
authorBobi Jam <bobijam@whamcloud.com>
Tue, 24 Oct 2023 14:02:55 +0000 (22:02 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 23 Jan 2024 02:06:09 +0000 (02:06 +0000)
commitec5814c9a71c18cebc4c9527a92269279e3d3553
treee372e430b85c1c835e17c98b29491eeb58982dc7
parentaef64444b67cecfb3343eb1330152f948760ff0d
EX-8311 csdc: allow specify 'fast'/'best' compression type

Use lctl set_param osc.*.compress_type_{fast|best}=<type>:<level>
to specify the compression_type:level for LL_COMPR_TYPE_FAST/
LL_COMPR_TYPE_BEST.

lctl get_param osc.*.compress_type_{fast|best} will list these
values.

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: Ifeff7f25e30fc0884f0c770a3b6d0798937b3c35
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52814
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
12 files changed:
lustre/include/lustre/lustreapi.h
lustre/include/lustre_compr.h
lustre/include/obd.h
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/ldlm/ldlm_lib.c
lustre/obdclass/lustre_compr.c
lustre/ofd/ofd_compress.c
lustre/osc/lproc_osc.c
lustre/osc/osc_compress.c
lustre/osc/osc_compress.h
lustre/osc/osc_request.c
lustre/utils/liblustreapi.c