From 44a8edb277e7e18e6819289d77721090794a3f0f Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 22 Nov 2005 01:37:28 +0000 Subject: [PATCH] Branch b1_4_mountconf b=8007 these must be updated when adding rpc's --- lustre/ptlrpc/pack_generic.c | 6 ++++-- lustre/utils/wirecheck.c | 1 + lustre/utils/wiretest.c | 6 ++++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/lustre/ptlrpc/pack_generic.c b/lustre/ptlrpc/pack_generic.c index 55fdd42..ec2dca7 100644 --- a/lustre/ptlrpc/pack_generic.c +++ b/lustre/ptlrpc/pack_generic.c @@ -1044,9 +1044,11 @@ void lustre_assert_wire_constants(void) (long long)MGMT_DISCONNECT); LASSERTF(MGMT_EXCEPTION == 252, " found %lld\n", (long long)MGMT_EXCEPTION); - LASSERTF(MGMT_OST_ADD == 253, " found %lld\n", + LASSERTF(MGMT_REGISTER == 253, " found %lld\n", + (long long)MGMT_REGISTER); + LASSERTF(MGMT_OST_ADD == 254, " found %lld\n", (long long)MGMT_OST_ADD); - LASSERTF(MGMT_OST_DEL == 254, " found %lld\n", + LASSERTF(MGMT_OST_DEL == 255, " found %lld\n", (long long)MGMT_OST_DEL); LASSERTF(OBD_PING == 400, " found %lld\n", (long long)OBD_PING); diff --git a/lustre/utils/wirecheck.c b/lustre/utils/wirecheck.c index e3cdd69..800196e 100644 --- a/lustre/utils/wirecheck.c +++ b/lustre/utils/wirecheck.c @@ -930,6 +930,7 @@ main(int argc, char **argv) CHECK_VALUE(MGMT_CONNECT); CHECK_VALUE(MGMT_DISCONNECT); CHECK_VALUE(MGMT_EXCEPTION); + CHECK_VALUE(MGMT_REGISTER); CHECK_VALUE(MGMT_OST_ADD); CHECK_VALUE(MGMT_OST_DEL); diff --git a/lustre/utils/wiretest.c b/lustre/utils/wiretest.c index b96ef7d..c698d01 100644 --- a/lustre/utils/wiretest.c +++ b/lustre/utils/wiretest.c @@ -204,9 +204,11 @@ void lustre_assert_wire_constants(void) (long long)MGMT_DISCONNECT); LASSERTF(MGMT_EXCEPTION == 252, " found %lld\n", (long long)MGMT_EXCEPTION); - LASSERTF(MGMT_OST_ADD == 253, " found %lld\n", + LASSERTF(MGMT_REGISTER == 253, " found %lld\n", + (long long)MGMT_REGISTER); + LASSERTF(MGMT_OST_ADD == 254, " found %lld\n", (long long)MGMT_OST_ADD); - LASSERTF(MGMT_OST_DEL == 254, " found %lld\n", + LASSERTF(MGMT_OST_DEL == 255, " found %lld\n", (long long)MGMT_OST_DEL); LASSERTF(OBD_PING == 400, " found %lld\n", (long long)OBD_PING); -- 1.8.3.1