Whamcloud - gitweb
LU-13354 ptlrpc: update wirecheck with missed checks 77/37877/3
authorMikhail Pershin <mpershin@whamcloud.com>
Wed, 11 Mar 2020 08:59:10 +0000 (11:59 +0300)
committerOleg Drokin <green@whamcloud.com>
Tue, 24 Mar 2020 05:21:15 +0000 (05:21 +0000)
commitf572a88d8cb45fa35f5e31df9b25b949601cb1a4
tree1ed2afb758700de2e73cb7ac964a683a5faaea8b
parentad2e188c0e46d44c8a1951cde429aa694d498df8
LU-13354 ptlrpc: update wirecheck with missed checks

- add missed values and defines in wirecheck.c
- prefer compile-time checks with CVALUE/CDEFINE for new
  blocks of checks, one-line updates are added with the
  same checks style as checks around it.
- update wirehdr.c to generate proper wiretest.c. Changes
  were made to wiretest.c directly, change wirehdr.c to
  reflect these changes.
- remove obsoleted and not used capa enum and defines found
  while updating checks

Test-Parameters: trivial
Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Change-Id: Ia1ea4ce30d61c58b20e3f20bed083812391f5998
Reviewed-on: https://review.whamcloud.com/37877
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wirehdr.c
lustre/utils/wiretest.c