Whamcloud - gitweb
b:2215 - OSTs fetch unlink llog records from MDS post replay
authortianying <tianying>
Thu, 13 Nov 2003 05:56:48 +0000 (05:56 +0000)
committertianying <tianying>
Thu, 13 Nov 2003 05:56:48 +0000 (05:56 +0000)
     1. add lop_connect and lop_precleanup to llog_operations
     2. rename llog_obd_ctxt to llog_ctxt; llog_commit_data to llog_canceld_ctxt
     3. split out llog functions in llog_client.c and llog_server.c and remove llogd.c
     4. add one test-59 to sanity.sh to verify cancellation of llog records async
     5. fix calling of mds_cleanup_orphans, add test-34 to replay-single.sh
     6. fix some codes about llog

lustre/llite/llite_lib.c

index f141fee..4e3210d 100644 (file)
@@ -358,7 +358,7 @@ int lustre_process_log(struct lustre_mount_data *lmd, char * profile,
         char * name = "mdc_dev";
         class_uuid_t uuid;
         struct obd_uuid mdc_uuid;
-        struct llog_obd_ctxt *ctxt;
+        struct llog_ctxt *ctxt;
         int rc = 0;
         int err;
         ENTRY;
@@ -427,7 +427,7 @@ int lustre_process_log(struct lustre_mount_data *lmd, char * profile,
         
         exp = class_conn2export(&mdc_conn);
         
-        ctxt = exp->exp_obd->obd_llog_ctxt[LLOG_CONFIG_REPL_CTXT];
+        ctxt = llog_get_context(exp->exp_obd, LLOG_CONFIG_REPL_CTXT);
         rc = class_config_parse_llog(ctxt, profile, cfg);
         if (rc) {
                 CERROR("class_config_parse_llog failed: rc = %d\n", rc);