Whamcloud - gitweb
EX-7818 osc: don't check for start inside the chunk
authorPatrick Farrell <pfarrell@whamcloud.com>
Wed, 13 Sep 2023 15:25:30 +0000 (11:25 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 14 Sep 2023 07:25:44 +0000 (07:25 +0000)
commitcaee1c589c8e940694b0128b35d733f19d74035e
tree6acbedcd81a6165ab8fc5ec2de11bb5017984e73
parent904d853783e7232c6519df5078babebc12455638
EX-7818 osc: don't check for start inside the chunk

Chunk size is the same for the whole request and every
chunk offset is multiple to a chunk size.

No need to search for compression header in every page.
It is enough to check every with offset multiple to a chunk
size.

Test-Parameters: testlist=sanity-compr env=ONLY="1-6"
Signed-off-by: Artem Blagodarenko <ablagodarenko@ddn.com>
Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: Ie2ef645130656279e152ea1f7e6db01cb33836ca
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/51650
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
contrib/scripts/spelling.txt
lustre/include/cl_object.h
lustre/osc/osc_compress.c