diff options
-rw-r--r-- | src/osd/PG.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 2bba57d1b67..549f0434402 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -3665,6 +3665,11 @@ ostream& operator<<(ostream& out, const PG& pg) out << " r=" << pg.get_role(); out << " lpr=" << pg.get_last_peering_reset(); + if (pg.past_intervals.size()) { + out << " pi=" << pg.past_intervals.begin()->first << "-" << pg.past_intervals.rbegin()->second.last + << "/" << pg.past_intervals.size(); + } + if (pg.is_active() && pg.last_update_ondisk != pg.info.last_update) out << " luod=" << pg.last_update_ondisk; |