Whamcloud - gitweb
EX-9108 obdclass: disable T10PI guard from disk when decompressing
authorLi Dongyang <dongyangli@ddn.com>
Tue, 26 Mar 2024 05:09:21 +0000 (16:09 +1100)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 30 Mar 2024 07:19:40 +0000 (07:19 +0000)
commitdeee8e1a4ba5c705526a85e149e5a411c5341fb2
tree95651007ee9c60829e150e1cb0a140ad219081b6
parentf54c649a4a4fdf7b96e6dd4b36da512680f6c139
EX-9108 obdclass: disable T10PI guard from disk when decompressing

When server handles chunk unaligned read, we need to read
the chunk from disk and decompress the raw data.
This means we should not use the guard tags from the storage,
as they only match the raw data.
Disable the guard from disk and the T10PI checksum will be
recalculated later using decompressed data.

Change-Id: I49964e1412e9d02769797c64aab290b17851e26f
Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54567
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Artem Blagodarenko <ablagodarenko@ddn.com>
lustre/obdclass/lustre_compr.c