Signed-off-by: Samuel Just <sam.just@inktank.com>
pg = _lookup_lock_pg(m->pgid);
assert(pg);
- pg->get();
enqueue_op(pg, op);
pg->unlock();
- pg->put();
}
void OSD::handle_pg_backfill(OpRequestRef op)
pg = _lookup_lock_pg(m->pgid);
assert(pg);
- pg->get();
enqueue_op(pg, op);
pg->unlock();
- pg->put();
}
}
- pg->get();
enqueue_op(pg, op);
pg->unlock();
- pg->put();
}
bool OSD::op_has_sufficient_caps(PG *pg, MOSDOp *op)
if (!pg) {
return;
}
- pg->get();
enqueue_op(pg, op);
pg->unlock();
- pg->put();
}
void OSD::handle_sub_op_reply(OpRequestRef op)
if (!pg) {
return;
}
- pg->get();
enqueue_op(pg, op);
pg->unlock();
- pg->put();
}
bool OSD::op_is_discardable(MOSDOp *op)