Whamcloud - gitweb
EX-4567 kernel: add extra field for snapshot in el8
authorHongchao Zhang <hongchao@whamcloud.com>
Fri, 21 Oct 2022 07:43:11 +0000 (03:43 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 27 Oct 2022 03:21:55 +0000 (03:21 +0000)
commit70048e03d4c586e6397860cba9255626993f87f5
treed2dd52d3a4f514194201c5cd2d4222be9f1fd40c
parent6f0d285f92eabe2e54f67c9888ae92e76383c04b
EX-4567 kernel: add extra field for snapshot in el8

Adding extra fields in "struct jbd2_journal_handle" and
"struct journal_head", which are used by snapshot into the
4-byte hole at the end of struct jbd2_journal_handle so
that they do not increase the structure size and memory
usage for this common allocation.

Use RH_KABI_EXTEND() and RH_KABI_FILL_HOLE() so that the
new fields do not affect the kernel ABI compatibility.

Change-Id: I84f52b18694e56d837d64c5c80076e45dde27eab
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/48880
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/kernel_patches/patches/snapshot-jbd2-rhel8.3.patch [new file with mode: 0644]
lustre/kernel_patches/series/4.18-rhel8.5.series
lustre/kernel_patches/series/4.18-rhel8.6.series