]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: show last_epoch_clean in PG::Info::History printer
authorSage Weil <sage.weil@dreamhost.com>
Fri, 20 May 2011 20:01:22 +0000 (13:01 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Fri, 20 May 2011 22:15:12 +0000 (15:15 -0700)
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/osd/PG.h

index 157ebf78a97f57dcb112e5a99b2e0e3fe7c79e48..9389acb2c0ff4b19c1f2cba4bfe34da5b4e3a64e 100644 (file)
@@ -1641,7 +1641,7 @@ WRITE_CLASS_ENCODER(PG::OndiskLog)
 inline ostream& operator<<(ostream& out, const PG::Info::History& h) 
 {
   return out << "ec=" << h.epoch_created
-            << " les=" << h.last_epoch_started
+            << " les/c " << h.last_epoch_started << "/" << h.last_epoch_clean
             << " " << h.same_up_since << "/" << h.same_acting_since << "/" << h.same_primary_since;
 }