From 0696cf57283e6e9a3500c56ca5fc9f981475ca26 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 14 Jan 2013 18:22:02 -0800 Subject: [PATCH] osd: note must_scrub* flags in PG operator<< Signed-off-by: Sage Weil (cherry picked from commit d56af797f996ac92bf4e0886d416fd358a2aa08e) --- src/osd/PG.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/osd/PG.cc b/src/osd/PG.cc index d120a380110ac..ff0fa2014ca69 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(); -- 2.39.5