mirror of
https://github.com/ceph/ceph
synced 2025-04-01 14:51:13 +00:00
PG: add async recovery and backfill to pg dout() prefix
Signed-off-by: Neha Ojha <nojha@redhat.com>
This commit is contained in:
parent
e68f2f0ff0
commit
1b4f86cb04
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user