Signed-off-by: Sage Weil <sage@redhat.com>
goto out;
}
- assert(!pg->deleting);
+ assert(!pg->is_deleting());
assert(pg->is_peered() && pg->is_primary());
assert(pg->recovery_queued);
session->put();
}
- if (pg->deleting)
+ if (pg->is_deleting())
return;
op->mark_reached_pg();
PG *pg = *i;
pg->lock_suspend_timeout(handle);
curmap = service.get_osdmap();
- if (pg->deleting) {
+ if (pg->is_deleting()) {
pg->unlock();
continue;
}
if (p != sdata->pg_slots.end()) {
auto& slot = p->second;
dout(20) << __func__ << " " << pgid << " pg " << slot.pg << dendl;
- assert(!slot.pg || slot.pg->deleting);
+ assert(!slot.pg || slot.pg->is_deleting());
slot.pg = nullptr;
}
}