Whamcloud - gitweb
- If the first user command isn't ENQUEUE, postsetup would be run too
authorphil <phil>
Mon, 8 Sep 2003 23:02:25 +0000 (23:02 +0000)
committerphil <phil>
Mon, 8 Sep 2003 23:02:25 +0000 (23:02 +0000)
  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

index 86da8c4..172aebf 100644 (file)
@@ -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",