This means we can drop the scrub repair state_clear() call. We probably
can drop others, but lets leave that for another day.
Signed-off-by: Sage Weil <sage@inktank.com>
osd->clog.error(ss);
state_set(PG_STATE_INCONSISTENT);
if (repair) {
- state_clear(PG_STATE_CLEAN);
for (map<hobject_t, int>::iterator i = authoritative.begin();
i != authoritative.end();
i++) {
void PG::RecoveryState::Clean::exit()
{
context< RecoveryMachine >().log_exit(state_name, enter_time);
+ PG *pg = context< RecoveryMachine >().pg;
+ pg->state_clear(PG_STATE_CLEAN);
}
/*---------Active---------*/