From: David Zafman Date: Sat, 19 Jan 2019 01:57:21 +0000 (-0800) Subject: osd: Increase log level in PG::_update_calc_stats() X-Git-Tag: v13.2.5~14^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ed73f986380950d6b00a4542c3b5be3f610c1011;p=ceph.git osd: Increase log level in PG::_update_calc_stats() Signed-off-by: David Zafman (cherry picked from commit c660ef1b1fe0812bd502ea0e7f446a88f2b08431) --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 7eb50a0285ca..367760218579 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -3002,14 +3002,14 @@ void PG::_update_calc_stats() for (auto& ml: sml.second) { int missing_shards; if (sml.first == shard_id_t::NO_SHARD) { - dout(0) << __func__ << " ml " << ml.second << " upset size " << upset.size() << " up " << ml.first.up << dendl; + dout(20) << __func__ << " ml " << ml.second << " upset size " << upset.size() << " up " << ml.first.up << dendl; missing_shards = (int)upset.size() - ml.first.up; } else { // Handle shards not even in upset below if (!find_shard(upset, sml.first)) continue; missing_shards = std::max(0, 1 - ml.first.up); - dout(0) << __func__ << " shard " << sml.first << " ml " << ml.second << " missing shards " << missing_shards << dendl; + dout(20) << __func__ << " shard " << sml.first << " ml " << ml.second << " missing shards " << missing_shards << dendl; } int odegraded = ml.second * missing_shards; // Copies on other osds but limited to the possible degraded