From 6892c6d82d660bc9acef6d427fdf647adcd3a419 Mon Sep 17 00:00:00 2001 From: shadow Date: Fri, 5 Sep 2008 11:06:56 +0000 Subject: [PATCH] fix paralel init for llog. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/obdfilter/filter.c b/lustre/obdfilter/filter.c index d780195..0f45100 100644 --- a/lustre/obdfilter/filter.c +++ b/lustre/obdfilter/filter.c @@ -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); -- 1.8.3.1