From: Sage Weil Date: Tue, 15 Jan 2013 02:22:02 +0000 (-0800) Subject: osd: note must_scrub* flags in PG operator<< X-Git-Tag: v0.57~199 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d56af797f996ac92bf4e0886d416fd358a2aa08e;p=ceph.git osd: note must_scrub* flags in PG operator<< Signed-off-by: Sage Weil --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 572962a81de7..7090608c42ca 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -4820,6 +4820,13 @@ ostream& operator<<(ostream& out, const PG& pg) if (pg.should_send_notify()) out << " NOTIFY"; + if (pg.scrubber.must_repair) + out << " MUST_REPAIR"; + if (pg.scrubber.must_deep_scrub) + out << " MUST_DEEP_SCRUB"; + if (pg.scrubber.must_scrub) + out << " MUST_SCRUB"; + //out << " (" << pg.log.tail << "," << pg.log.head << "]"; if (pg.missing.num_missing()) { out << " m=" << pg.missing.num_missing();