Signed-off-by: Samuel Just <sam.just@inktank.com>
// (logical) local ack.
int whoami = osd->get_nodeid();
- if (repop->ctx->clone_obc) {
- repop->ctx->clone_obc = ObjectContextRef();
- }
- if (repop->ctx->snapset_obc) {
- repop->ctx->snapset_obc = ObjectContextRef();
- }
-
- repop->src_obc.clear();
-
if (!repop->aborted) {
assert(repop->waitfor_ack.count(whoami) ||
repop->waitfor_disk.count(whoami) == 0); // commit before ondisk
}
}
~OpContext() {
- assert(!clone_obc);
assert(lock_to_release == NONE);
if (reply)
reply->put();