From 7da6784dd7e206d933821905ab9a9b3a97da2d5b Mon Sep 17 00:00:00 2001 From: phil Date: Mon, 8 Sep 2003 23:02:25 +0000 Subject: [PATCH] - If the first user command isn't ENQUEUE, postsetup would be run too late, which causes the 'sanity' 1a hang that coop sees. Fixed by running postsetup if any of the non-setup RPCs arrives. - Remove overwriting of lgh_last_idx in llog_init_handle - init the handle from the test code (not quite right yet) - #if 0 out the filter catalog functions until they build --- lustre/obdclass/llog_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/obdclass/llog_test.c b/lustre/obdclass/llog_test.c index 86da8c4..172aebf 100644 --- a/lustre/obdclass/llog_test.c +++ b/lustre/obdclass/llog_test.c @@ -50,6 +50,7 @@ static int llog_test_1(struct obd_device *obd) CERROR("1a: llog_create with name %s failed: %d\n", name, rc); RETURN(rc); } + llog_init_handle(llh, LLOG_F_IS_PLAIN, "test"); if (llh->lgh_last_idx != 0) { CERROR("1a: handle->last_idx is %d, expected 0 after create\n", -- 1.8.3.1