]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: Increase log level in PG::_update_calc_stats()
authorDavid Zafman <dzafman@redhat.com>
Sat, 19 Jan 2019 01:57:21 +0000 (17:57 -0800)
committerDavid Zafman <dzafman@redhat.com>
Mon, 18 Feb 2019 18:55:43 +0000 (10:55 -0800)
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit c660ef1b1fe0812bd502ea0e7f446a88f2b08431)

src/osd/PG.cc

index 7eb50a0285ca9dfd07fc09789d0f7dc3b03950d9..367760218579a0122b866a333666c009d7c41ad1 100644 (file)
@@ -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