From: Neha Ojha Date: Thu, 15 Mar 2018 00:42:28 +0000 (-0700) Subject: PG: add async recovery and backfill to pg dout() prefix X-Git-Tag: v13.1.0~548^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1b4f86cb044bead252f22c427417bea643eb19ca;p=ceph.git PG: add async recovery and backfill to pg dout() prefix Signed-off-by: Neha Ojha --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 8fa38b163be9..f15049cba24c 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -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();