Whamcloud - gitweb
LU-16655 build: add wirecheck/wiretest for disk structs 82/50482/3
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 31 Mar 2023 23:43:54 +0000 (17:43 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 18 Apr 2023 03:40:34 +0000 (03:40 +0000)
commita3a713c8e1a47edc625963092b6b3f27079cdf2d
treedf84a6bb9080a7fd7354af0a984183422c8285a7
parent20621c761b787cd7b08a9d0abc0fc362f0bb0122
LU-16655 build: add wirecheck/wiretest for disk structs

Move OI scrub_file and related constants to lustre/lustre_disk.h
to ensure these on-disk structures do not change in the future.

Add lr_server_data and lsd_client_data structs from last_rcvd file.
Add replay_data_v1 and replay_data_v2 structs from recovery.

Move struct ost_layout together with lustre_ost_attrs where it is
used, and add PFID_STRIPE_IDX_BITS/PFID_STRIPE_COUNT_MASK checks
for the usage of this struct.

Change uuid.h header includes to allow uuid_t in lustre_disk.h.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ie992ca383f24c29d2449ee22849a3c476096551c
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50482
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Alexander Zarochentsev <alexander.zarochentsev@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_scrub.h
lustre/include/uapi/linux/lustre/lustre_disk.h
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/osd-ldiskfs/osd_handler.c
lustre/ptlrpc/wiretest.c
lustre/utils/ll_decode_filter_fid.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c