Whamcloud - gitweb
LU-10855 ptlrpc: assign specific values to MGS opcodes 53/32653/2
authorAndreas Dilger <andreas.dilger@intel.com>
Wed, 6 Jun 2018 22:18:03 +0000 (16:18 -0600)
committerOleg Drokin <green@whamcloud.com>
Wed, 18 Jul 2018 06:00:41 +0000 (06:00 +0000)
commit12c5a26609f12b36dda0bfb33e27cc03f805155d
tree0459fb22d62f08b89d450bf540e756f8cfe06b60
parent7d89a5b8aefc5417fa04c03ab15b447cfde01e9b
LU-10855 ptlrpc: assign specific values to MGS opcodes

Assign specific values to all of the MGS opcodes in enum mgs_cmd
so that these values do not change if a new items is added or one
is removed in the future.  These opcodes are part of the wire
protocol and need to remain constant.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I8132ca01916cd657933d0c8864e4e78f8b3ebbe5
Reviewed-on: https://review.whamcloud.com/32653
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c