Signed-off-by: Sage Weil <sage@redhat.com>
int ret;
while (!done) {
- dout(20) << "scrub state " << Scrubber::state_string(scrubber.state) << dendl;
+ dout(20) << "scrub state " << Scrubber::state_string(scrubber.state)
+ << " [" << scrubber.start << "," << scrubber.end << ")" << dendl;
switch (scrubber.state) {
case PG::Scrubber::INACTIVE:
ceph_abort();
}
}
+ dout(20) << "scrub final state " << Scrubber::state_string(scrubber.state)
+ << " [" << scrubber.start << "," << scrubber.end << ")" << dendl;
}
void PG::scrub_clear_state()
if (is_primary() && scrubber.active) {
if (soid < scrubber.start) {
+ dout(20) << __func__ << " " << soid << " < [" << scrubber.start
+ << "," << scrubber.end << ")" << dendl;
scrub_cstat.add(delta_stats);
+ } else {
+ dout(20) << __func__ << " " << soid << " >= [" << scrubber.start
+ << "," << scrubber.end << ")" << dendl;
}
}
}