Whamcloud - gitweb
LU-16677 utils: add bitfields and ifdefs to wiretest 79/50479/2
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 31 Mar 2023 02:37:08 +0000 (20:37 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 11 Apr 2023 20:12:04 +0000 (20:12 +0000)
commit5a730827147714136b7d5035ca6115545a6b5ef0
treefdb0f1777aeee85a9f900ff766de45c2b2f51e1b
parent050ce41d7359ebf4e10c5e592b5454b133ed3e64
LU-16677 utils: add bitfields and ifdefs to wiretest

Add CHECK_BITFIELD() for "checking" bitfields in data structures
(currently only adds a comment to wiretest.c, maybe improve later).

Add CHECK_COND_START/FINISH() for adding #ifdef/#endif conditions
into wiretest, mainly for structs not used by (upstream) client.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I8ecc4bdd5b5d651faa42f65ce8ea46da003ebbe5
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50479
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Alexander Zarochentsev <alexander.zarochentsev@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c