Skip to content

Commit

Permalink
PG: add async recovery and backfill to pg dout() prefix
Browse files Browse the repository at this point in the history
Signed-off-by: Neha Ojha <nojha@redhat.com>
  • Loading branch information
neha-ojha committed Mar 15, 2018
1 parent e68f2f0 commit 1b4f86c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/osd/PG.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6047,6 +6047,10 @@ ostream& operator<<(ostream& out, const PG& pg)
out << "/" << pg.acting;
if (pg.is_ec_pg())
out << "p" << pg.get_primary();
if (!pg.async_recovery_targets.empty())
out << " async=[" << pg.async_recovery_targets << "]";
if (!pg.backfill_targets.empty())
out << " backfill=[" << pg.backfill_targets << "]";
out << " r=" << pg.get_role();
out << " lpr=" << pg.get_last_peering_reset();

Expand Down

0 comments on commit 1b4f86c

Please sign in to comment.