Whamcloud - gitweb
EX-7601 llite: Compute compression chunk ranges
authorPatrick Farrell <pfarrell@whamcloud.com>
Wed, 5 Jul 2023 19:12:07 +0000 (15:12 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 7 Sep 2023 00:39:20 +0000 (00:39 +0000)
commita81b7d7158f4287b83dd16002398045ba9a4b581
tree8c33d77678e92ce0fcc80a12a30a3d7a491d162b
parent5071655ae68402da9b079ea1fed27072611cf4d2
EX-7601 llite: Compute compression chunk ranges

Determine the edges of any leading and trailing compression
chunks touched by this IO and store them in the cl_io
struct.

The functionality in this patch also allows us to adjust
the lock and read rounding to do them more intelligently,
this will be done in a future patch.

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: I526563ea347fb0246f97f3532b823c4345c3fa27
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/51324
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/cl_object.h
lustre/llite/file.c
lustre/lov/lov_io.c
lustre/obdclass/cl_io.c