numcookies - cookies);
llog_ctxt_put(cctxt);
if (rc < 0) {
- CERROR("Can't add llog (rc = %d) for stripe %i\n",
- rc, cookies);
+ /*CERROR("Can't add llog (rc = %d) for stripe %i\n",
+ rc, cookies);*/
memset(logcookies + cookies, 0,
sizeof(struct llog_cookie));
rc = 1; /* skip this cookie */
llog_ctxt_put(cctxt);
if (rc) {
- CERROR("error osc_llog_connect tgt %d (%d)\n", i, rc);
+ //CERROR("error osc_llog_connect tgt %d (%d)\n", i, rc);
if (!err)
err = rc;
}
}
if (rc) {
- CERROR("Can't find %s interface\n", name);
+ //CERROR("Can't find %s interface\n", name);
RETURN(ERR_PTR(rc < 0 ? rc : -rc));
/* unlock fsfilt_types list */
}
tgt, 1, NULL, CHANGELOG_CATALOG,
&changelog_orig_logops);
if (rc) {
- CERROR("changelog llog setup failed %d\n", rc);
+ //CERROR("changelog llog setup failed %d\n", rc);
RETURN(rc);
}
lmi->lmi_dt->dd_ops->dt_conf_get(NULL, lmi->lmi_dt, &dt_param);
mnt = dt_param.ddp_mnt;
if (mnt == NULL) {
- CERROR("no llog support on this device\n");
+ //CERROR("no llog support on this device\n");
return 0;
}
LASSERT(mnt);
}
if (rc) {
- CERROR("obd %s ctxt %d lop_setup=%p failed %d\n",
- obd->obd_name, index, op->lop_setup, rc);
+ /*CERROR("obd %s ctxt %d lop_setup=%p failed %d\n",
+ obd->obd_name, index, op->lop_setup, rc);*/
llog_ctxt_put(ctxt);
} else {
CDEBUG(D_CONFIG, "obd %s ctxt %d is initialized\n",
ENTRY;
if (!ctxt) {
- CERROR("No ctxt\n");
+ //CERROR("No ctxt\n");
RETURN(-ENODEV);
}
ctxt = llog_get_context(obd, LLOG_CONFIG_ORIG_CTXT);
if (ctxt == NULL) {
- CERROR("missing llog context\n");
+ //CERROR("missing llog context\n");
RETURN(-EINVAL);
}