Whamcloud - gitweb
LU-10855 ptlrpc: remove obsolete OBD RPC opcodes 51/32651/3
authorAndreas Dilger <andreas.dilger@intel.com>
Wed, 6 Jun 2018 20:41:13 +0000 (14:41 -0600)
committerOleg Drokin <green@whamcloud.com>
Wed, 18 Jul 2018 06:00:33 +0000 (06:00 +0000)
commit7d89a5b8aefc5417fa04c03ab15b447cfde01e9b
tree935265f98d94f913ea07ee621e1a1f7d04057096
parent711eff3a50003b5c617955bae50fba7bfcb9c43d
LU-10855 ptlrpc: remove obsolete OBD RPC opcodes

Remove the obsolete OBD_LOG_CANCEL (since Lustre 1.5) and
OBD_QC_CALLBACK (since Lustre 2.4) RPC opcodes.

Assign  OBD_IDX_READ an explicit opcode (as should be done with all
enums in lustre_idl.h) so that the value does not change if some
prior field is removed.

Also remove the OBD_FAIL checks that were used to test them.
The setting in conf_sanity.sh test_58 was unused for many years.

Test-Parameters: trivial testlist=conf-sanity
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: Ie68c6be0da1c114fc981cb4b1afdcdb7c13ebbe5
Reviewed-on: https://review.whamcloud.com/32651
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/obd_support.h
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/ptlrpc/lproc_ptlrpc.c
lustre/ptlrpc/wiretest.c
lustre/tests/conf-sanity.sh
lustre/utils/wirecheck.c
lustre/utils/wiretest.c