Whamcloud - gitweb
LU-16138 kernel: preserve RHEL8.x server kABI for block integrity 08/48608/1
authorJian Yu <yujian@whamcloud.com>
Tue, 20 Sep 2022 18:19:12 +0000 (11:19 -0700)
committerJian Yu <yujian@whamcloud.com>
Tue, 20 Sep 2022 18:19:12 +0000 (11:19 -0700)
commitec555c17c0254662c5886188dd2f7c0447fd4aef
tree67fba09afad0844548b855d3ed109bceb2e8e4d6
parent0c68b13a5eeb408862bad795aaf9a24a11a14b6a
LU-16138 kernel: preserve RHEL8.x server kABI for block integrity

Currently there are two kernel patches supporting SCSI T10-PI feature
left in the RHEL8.x series:

- block-integrity-allow-optional-integrity-functions-rhel8.patch
- block-pass-bio-into-integrity_processing_fn-rhel8.patch

The changes in the patches modified "struct bio_integrity_payload"
and "struct blk_integrity_iter", which caused kABI breakage.

This patch fixes the patches to preserve kABI by using
RH-supplied compatibility macros.

Test-Parameters: trivial fstype=ldiskfs clientdistro=el8.5 serverdistro=el8.5
Test-Parameters: trivial fstype=ldiskfs clientdistro=el8.6 serverdistro=el8.6

Change-Id: If547e1cd4ae4ff1affd315bbfefaeeff4f1dea81
Signed-off-by: Jian Yu <yujian@whamcloud.com>
lustre/kernel_patches/patches/block-integrity-allow-optional-integrity-functions-rhel8.patch
lustre/kernel_patches/patches/block-pass-bio-into-integrity_processing_fn-rhel8.patch