From: tappro Date: Mon, 2 Oct 2006 15:04:52 +0000 (+0000) Subject: shut up annoying messages X-Git-Tag: v1_8_0_110~486^2~728 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=87702b497d74038beca7f7920be45b29e6ffb51f;p=fs%2Flustre-release.git shut up annoying messages --- diff --git a/lustre/mdt/mdt_recovery.c b/lustre/mdt/mdt_recovery.c index feeba27..02e4b36 100644 --- a/lustre/mdt/mdt_recovery.c +++ b/lustre/mdt/mdt_recovery.c @@ -843,7 +843,9 @@ static int mdt_txn_stop_cb(const struct lu_env *env, } if (mti->mti_has_trans) { - CWARN("More than one transaction "LPU64"\n", mti->mti_transno); + /* XXX: currently there are allowed cases, but the wrong cases + * are also possible, so better check is needed here */ + CDEBUG(D_INFO, "More than one transaction "LPU64"\n", mti->mti_transno); return 0; } @@ -901,8 +903,9 @@ static int mdt_txn_commit_cb(const struct lu_env *env, } else spin_unlock(&mdt->mdt_transno_lock); - CDEBUG(D_HA, "%s: transno "LPD64" committed\n", - obd->obd_name, txi->txi_transno); + if (txi->txi_transno) + CDEBUG(D_HA, "%s: transno "LPD64" committed\n", + obd->obd_name, txi->txi_transno); return 0; }