]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: note must_scrub* flags in PG operator<<
authorSage Weil <sage@inktank.com>
Tue, 15 Jan 2013 02:22:02 +0000 (18:22 -0800)
committerSage Weil <sage@inktank.com>
Tue, 15 Jan 2013 03:20:54 +0000 (19:20 -0800)
Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/PG.cc

index 572962a81de7491746369232263149f4fe62db8a..7090608c42ca26694d2a790d0fe303ea770779da 100644 (file)
@@ -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();