Whamcloud - gitweb
- disable few llog-related messages while llog isn't ready (too many noise in the...
authoralex <alex>
Tue, 29 Sep 2009 12:28:13 +0000 (12:28 +0000)
committeralex <alex>
Tue, 29 Sep 2009 12:28:13 +0000 (12:28 +0000)
lustre/lov/lov_log.c
lustre/lvfs/fsfilt.c
lustre/mds/mds_log.c
lustre/mdt/mdt_handler.c
lustre/obdclass/llog_obd.c
lustre/ptlrpc/sec_config.c

index 7346f25..e25e9d9 100644 (file)
@@ -120,8 +120,8 @@ static int lov_llog_origin_add(struct llog_ctxt *ctxt, struct llog_rec_hdr *rec,
                                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 */
@@ -158,7 +158,7 @@ static int lov_llog_origin_connect(struct llog_ctxt *ctxt,
                 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;
                 }
index cb95e85..09d4b44 100644 (file)
@@ -122,7 +122,7 @@ struct fsfilt_operations *fsfilt_get_ops(const char *type)
                 }
 
                 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 */
                 }
index 0108623..c6dd22c 100644 (file)
@@ -179,7 +179,7 @@ int mds_changelog_llog_init(struct obd_device *obd, struct obd_device *tgt)
                               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);
         }
 
index 85a05e8..2b22913 100644 (file)
@@ -4277,7 +4277,7 @@ static int mdt_obd_llog_setup(struct obd_device *obd,
         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);
index c56eb75..229acef 100644 (file)
@@ -213,8 +213,8 @@ int llog_setup_named(struct obd_device *obd,  struct obd_llog_group *olg,
         }
 
         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",
@@ -283,7 +283,7 @@ int llog_cancel(struct llog_ctxt *ctxt, struct lov_stripe_md *lsm,
         ENTRY;
 
         if (!ctxt) {
-                CERROR("No ctxt\n");
+                //CERROR("No ctxt\n");
                 RETURN(-ENODEV);
         }
 
index e9fe66f..ec7ca71 100644 (file)
@@ -1025,7 +1025,7 @@ int sptlrpc_target_local_copy_conf(struct obd_device *obd,
 
         ctxt = llog_get_context(obd, LLOG_CONFIG_ORIG_CTXT);
         if (ctxt == NULL) {
-                CERROR("missing llog context\n");
+                //CERROR("missing llog context\n");
                 RETURN(-EINVAL);
         }