[LU-11433] Add checks for LNet WIRE_ATTR structs in lnet_assert_wire_constants() Created: 26/Sep/18  Updated: 21/Jan/22

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Sonia Sharma (Inactive) Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: easy

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Many LNet WIRE_ATTR structs are not checked for in lnet_assert_wire_constants(). Add checks for all those WIRE_ATTR structs.

To make this change of adding WIRE_ATTR structs in lnet_assert_wire_constants() easier,  move lnet_assert_wire_constants() from lnet/lnet/api-ni.c to lnet/utils/wirecheck.c.

The reason for this as Andreas points - "In Lustre, the code to verify wire constants can be generated by running wirecheck, but is not automatically generated to avoid automatically clobbering the current checks.  Moving lnet_assert_wire_constants() into a separate wiretest.c file from api-ni.c would make this update process easier."


Generated at Sat Feb 10 02:43:50 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.