Whamcloud - gitweb
fix paralel init for llog.
authorshadow <shadow>
Fri, 5 Sep 2008 11:06:56 +0000 (11:06 +0000)
committershadow <shadow>
Fri, 5 Sep 2008 11:06:56 +0000 (11:06 +0000)
make llog more smp safe.
don't write big array into journal.
fix return codes in llog_put_cat_list/llog_get_cat_list.

Branch b1_8_gate
b=16679
i=umka
i=adilger

lustre/obdfilter/filter.c

index d780195..0f45100 100644 (file)
@@ -1948,7 +1948,7 @@ int filter_common_setup(struct obd_device *obd, obd_count len, void *buf,
         ptlrpc_init_client(LDLM_CB_REQUEST_PORTAL, LDLM_CB_REPLY_PORTAL,
                            "filter_ldlm_cb_client", &obd->obd_ldlm_client);
 
-        rc = llog_cat_initialize(obd, 1, NULL);
+        rc = obd_llog_init(obd, obd, 1, NULL, NULL);
         if (rc) {
                 CERROR("failed to setup llogging subsystems\n");
                 GOTO(err_post, rc);