]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/ReplicatedPG: improve agent_choose_mode args
authorSage Weil <sage@redhat.com>
Thu, 31 Jul 2014 16:28:12 +0000 (09:28 -0700)
committerSage Weil <sage@redhat.com>
Tue, 12 Aug 2014 22:03:14 +0000 (15:03 -0700)
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit caf554bf2f752b50670d118c99843b7c4a2967b4)

src/osd/ReplicatedPG.cc

index 434f9dc24725f01ba9405c627b002fb018c9216c..df3514754e85e3a34c6cdc81b869854fc6252765 100644 (file)
@@ -11446,7 +11446,11 @@ void ReplicatedPG::agent_choose_mode(bool restart)
       num_dirty = 0;
   }
 
-  dout(10) << __func__ << ": "
+  dout(10) << __func__
+          << " flush_mode: "
+          << TierAgentState::get_flush_mode_name(agent_state->flush_mode)
+          << " evict_mode: "
+          << TierAgentState::get_evict_mode_name(agent_state->evict_mode)
           << " num_objects: " << info.stats.stats.sum.num_objects
           << " num_bytes: " << info.stats.stats.sum.num_bytes
           << " num_objects_dirty: " << info.stats.stats.sum.num_objects_dirty