From: Sage Weil Date: Tue, 18 Jun 2019 18:21:37 +0000 (-0500) Subject: osd/osd_types: make pg_history_t operator<< more concise X-Git-Tag: v15.1.0~2136^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d17aff325f65a2efdbdf6c6fe951757eb37d8a57;p=ceph.git osd/osd_types: make pg_history_t operator<< more concise Signed-off-by: Sage Weil --- diff --git a/src/osd/osd_types.h b/src/osd/osd_types.h index 2cd05a565760..a8662ac5040d 100644 --- a/src/osd/osd_types.h +++ b/src/osd/osd_types.h @@ -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; }