From 405764bf79dbc748d440605856c46df4778899b1 Mon Sep 17 00:00:00 2001 From: David Zafman Date: Thu, 18 Apr 2019 14:03:17 -0700 Subject: [PATCH] osd: Increase log level of messages which unnecessarily fill up logs Caused by: 834d3c19a774f1cc93903447d91d182776e12d18 Fixes: https://tracker.ceph.com/issues/39383 Signed-off-by: David Zafman --- src/osd/PrimaryLogPG.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osd/PrimaryLogPG.cc b/src/osd/PrimaryLogPG.cc index efda4ad0491..25472496053 100644 --- a/src/osd/PrimaryLogPG.cc +++ b/src/osd/PrimaryLogPG.cc @@ -4316,12 +4316,12 @@ void PrimaryLogPG::do_backfill(OpRequestRef op) // pg is consuming on the disk in order to compute amount of new data // reserved to hold backfill if it won't fit. if (m->op == MOSDPGBackfill::OP_BACKFILL_PROGRESS) { - dout(0) << __func__ << " primary " << m->stats.stats.sum.num_bytes << " local " << info.stats.stats.sum.num_bytes << dendl; + dout(25) << __func__ << " primary " << m->stats.stats.sum.num_bytes << " local " << info.stats.stats.sum.num_bytes << dendl; int64_t bytes = info.stats.stats.sum.num_bytes; info.stats = m->stats; info.stats.stats.sum.num_bytes = bytes; } else { - dout(0) << __func__ << " final " << m->stats.stats.sum.num_bytes << " replaces local " << info.stats.stats.sum.num_bytes << dendl; + dout(20) << __func__ << " final " << m->stats.stats.sum.num_bytes << " replaces local " << info.stats.stats.sum.num_bytes << dendl; info.stats = m->stats; } -- 2.39.5