Whamcloud - gitweb
EX-7601 ofd: multiple reads in same chunk
authorPatrick Farrell <pfarrell@whamcloud.com>
Tue, 12 Dec 2023 04:35:24 +0000 (23:35 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 6 Jan 2024 08:17:59 +0000 (08:17 +0000)
commit50c7ad2e580d62e438136752defaa1408dfdffce
tree130647c7876572a737ffddff563427946d3dbf13
parentfffae8e6f92822ed11e1c648d539740c45a1fc11
EX-7601 ofd: multiple reads in same chunk

When doing DIO or if we get unusual cache behavior on the
client, multiple reads can hit the same chunk.

This only shows up in racing tests, but it's important to
handle.  We do this by making sure we start searching the
lnbs for decompression at the start of the last chunk we
decompressed.

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: I81fbbba79b16066e6d4519c66030cc58e03d2de7
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53419
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Artem Blagodarenko <ablagodarenko@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/ofd/ofd_compress.c