]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/osd_types: make pg_history_t operator<< more concise
authorSage Weil <sage@redhat.com>
Tue, 18 Jun 2019 18:21:37 +0000 (13:21 -0500)
committerSage Weil <sage@redhat.com>
Mon, 15 Jul 2019 18:34:19 +0000 (13:34 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/osd_types.h

index 2cd05a565760e3ecd03814e260ae7836826a974b..a8662ac5040d00905ab1a756bac74cd6670edf4e 100644 (file)
@@ -2738,13 +2738,11 @@ WRITE_CLASS_ENCODER(pg_history_t)
 
 inline std::ostream& operator<<(std::ostream& out, const pg_history_t& h) {
   return out << "ec=" << h.epoch_created << "/" << h.epoch_pool_created
-            << " lis/c " << h.last_interval_started
+            << " lis/c=" << h.last_interval_started
             << "/" << h.last_interval_clean
-            << " les/c/f " << h.last_epoch_started << "/" << h.last_epoch_clean
+            << " les/c/f=" << h.last_epoch_started << "/" << h.last_epoch_clean
             << "/" << h.last_epoch_marked_full
-            << " " << h.same_up_since
-            << "/" << h.same_interval_since
-            << "/" << h.same_primary_since;
+            << " sis=" << h.same_interval_since;
 }