From d39fec77a10700b095195b279b33164a5d9de17f Mon Sep 17 00:00:00 2001 From: adilger Date: Fri, 5 Sep 2008 06:07:23 +0000 Subject: [PATCH] Branch b1_8_gate Quiet debug log messages from filling logs with useless messages. --- lustre/include/obd.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lustre/include/obd.h b/lustre/include/obd.h index ab8dce4..25640ed 100644 --- a/lustre/include/obd.h +++ b/lustre/include/obd.h @@ -1271,11 +1271,14 @@ static inline void obd_transno_commit_cb(struct obd_device *obd, __u64 transno, obd->obd_name, transno, error); return; } - CDEBUG(D_HA, "%s: transno "LPU64" committed\n", - obd->obd_name, transno); if (exp && transno > exp->exp_last_committed) { + CDEBUG(D_HA, "%s: transno "LPU64" committed\n", + obd->obd_name, transno); exp->exp_last_committed = transno; ptlrpc_commit_replies(exp); + } else { + CDEBUG(D_INFO, "%s: transno "LPU64" committed\n", + obd->obd_name, transno); } if (transno > obd->obd_last_committed) obd->obd_last_committed = transno; -- 1.8.3.1