Whamcloud - gitweb
EX-6269 osc: Add BRW_COMPRESSED flag to reads
authorPatrick Farrell <pfarrell@whamcloud.com>
Wed, 16 Aug 2023 16:41:54 +0000 (12:41 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 7 Sep 2023 00:38:14 +0000 (00:38 +0000)
commit5071655ae68402da9b079ea1fed27072611cf4d2
tree4b1ee517f929b03df6d32ab1aee66299186784eb
parent98728f8b0ea5ef1372fd7247ebf434005588e37e
EX-6269 osc: Add BRW_COMPRESSED flag to reads

We need to add the BRW_COMPRESSED flag to reads so servers
can know if the client is able to decompress data.

This lets servers decide if a client can be sent compressed
data and the result won't be nonsense/corruption.  This is
important for future support of GPU direct, where the
server will need to do the decompression.

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