From 80c55f5bc18062b83ee5a9c6d540407dafd40f6b Mon Sep 17 00:00:00 2001 From: ericm Date: Thu, 27 Jul 2006 00:33:46 +0000 Subject: [PATCH] branch: b1_8 update from b1_5 (20060726_1818) to get buffalo tests going. --- lustre/ptlrpc/wiretest.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lustre/ptlrpc/wiretest.c b/lustre/ptlrpc/wiretest.c index 09fbdcc..af6c651 100644 --- a/lustre/ptlrpc/wiretest.c +++ b/lustre/ptlrpc/wiretest.c @@ -375,10 +375,10 @@ void lustre_assert_wire_constants(void) (long long)(int)offsetof(struct obd_connect_data, ocd_index)); LASSERTF((int)sizeof(((struct obd_connect_data *)0)->ocd_index) == 4, " found %lld\n", (long long)(int)sizeof(((struct obd_connect_data *)0)->ocd_index)); - LASSERTF((int)offsetof(struct obd_connect_data, ocd_unused) == 20, " found %lld\n", - (long long)(int)offsetof(struct obd_connect_data, ocd_unused)); - LASSERTF((int)sizeof(((struct obd_connect_data *)0)->ocd_unused) == 4, " found %lld\n", - (long long)(int)sizeof(((struct obd_connect_data *)0)->ocd_unused)); + LASSERTF((int)offsetof(struct obd_connect_data, ocd_brw_size) == 20, " found %lld\n", + (long long)(int)offsetof(struct obd_connect_data, ocd_brw_size)); + LASSERTF((int)sizeof(((struct obd_connect_data *)0)->ocd_brw_size) == 4, " found %lld\n", + (long long)(int)sizeof(((struct obd_connect_data *)0)->ocd_brw_size)); LASSERTF((int)offsetof(struct obd_connect_data, ocd_ibits_known) == 24, " found %lld\n", (long long)(int)offsetof(struct obd_connect_data, ocd_ibits_known)); LASSERTF((int)sizeof(((struct obd_connect_data *)0)->ocd_ibits_known) == 8, " found %lld\n", @@ -424,6 +424,7 @@ void lustre_assert_wire_constants(void) CLASSERT(OBD_CONNECT_NODEVOH == 0x8000ULL); CLASSERT(OBD_CONNECT_LCL_CLIENT == 0x10000ULL); CLASSERT(OBD_CONNECT_RMT_CLIENT == 0x20000ULL); + CLASSERT(OBD_CONNECT_BRW_SIZE == 0x40000ULL); /* Checks for struct obdo */ LASSERTF((int)sizeof(struct obdo) == 208, " found %lld\n", -- 1.8.3.1