Whamcloud - gitweb
EX-7818 osc: don't do decomp. with compression disabled
authorPatrick Farrell <pfarrell@whamcloud.com>
Tue, 4 Jul 2023 18:44:22 +0000 (14:44 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 6 Jul 2023 04:11:59 +0000 (04:11 +0000)
commitc56c58c580f34e2249676ff745fa130f6ba7871b
tree1444983ed0060abea3e95d66466ce637b4d5cdd5
parent857bf8af06238dc8400339b2134de02e59c63075
EX-7818 osc: don't do decomp. with compression disabled

decompress_request likely has a significant performance
cost for checking if data is compressed, so we should not
call it when compression is disabled.

This is a stop-gap solution for the preview until we can
have the server tell the client if data is compressed, as
described in EX-7818.

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: Iba8feba3ab0fe620d0594f59c2c6ddea25faeb4f
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/51563
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/osc/osc_request.c