Whamcloud - gitweb
LU-5896 wirecheck: add swap layout structs to wirecheck 73/54473/8
authorCourrier Guillaume <guillaume.courrier@cea.fr>
Tue, 19 Mar 2024 10:52:43 +0000 (11:52 +0100)
committerOleg Drokin <green@whamcloud.com>
Sun, 2 Feb 2025 06:19:49 +0000 (06:19 +0000)
commit8edc3e7876e36e0895706f7ededd4dd71b66c71a
tree3dd8d11271bf7ecb8bc8ceed8e7b67283a31187a
parente4869bc72c4b5ba59a5dc5e47b7c1a638eae394e
LU-5896 wirecheck: add swap layout structs to wirecheck

For the support of blocking migrations, the MDS_SWAP_LAYOUTS RPC needs
to be updated. Wire checks were missing for some structs related to this
RPC. This patch introduces those checks to make sure that the new RPC
layout will not introduce layout changes in the structures.

Signed-off-by: Courrier Guillaume <guillaume.courrier@cea.fr>
Change-Id: I77b19bf6a4cf03bdcb4995bd83cb00ab52195cfe
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54473
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Etienne AUJAMES <eaujames@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c