Whamcloud - gitweb
- steal from the reserved bits instead of the bitmap bits, another
authorphil <phil>
Mon, 8 Sep 2003 07:51:03 +0000 (07:51 +0000)
committerphil <phil>
Mon, 8 Sep 2003 07:51:03 +0000 (07:51 +0000)
  piece of sage Andreas advice
- add an llh_flags field to the header
- rename confusing lgh_index to lgh_last_idx
- if the log is marked ZAP_WHEN_EMPTY, the log is full, and all of the
  records are cancelled, call llog_destroy from llog_cancel_rec
- extend llog_open to also support reopen-by-name
- add llog_vfs_read_blob and llog_vfs_read_header
- removed a bunch of unnecessary EXPORT_SYMBOLs
- add llog_lvfs_open()

lustre/obdclass/llog_test.c

index 9dc5cfa..1fdff01 100644 (file)
@@ -67,7 +67,7 @@ static int llog_test_2(struct obd_device *obd, struct llog_handle **llh)
 
         CERROR("2: re-open a log with a name\n");
         sprintf(name, "%x", llog_test_rand);
-        rc = 0;//llog_open(obd, llh, name);
+        rc = llog_open(obd, llh, NULL, name);
         if (rc)
                 CERROR("2: re-open log with name %s failed: %d\n", name, rc);