ctx->log.back().mod_desc.mark_unrollbackable();
}
+ // no ctx->delta_stats
+
// obc ref swallowed by repop!
simple_repop_submit(repop);
utime_t now = ceph_clock_now(cct);
ctx->mtime = now;
hit_set_trim(repop, 0);
- info.stats.stats.add(ctx->delta_stats);
+ apply_ctx_stats(ctx);
simple_repop_submit(repop);
}
hit_set_trim(repop, max);
- info.stats.stats.add(ctx->delta_stats);
- if (scrubber.active) {
- if (cmp(oid, scrubber.start, get_sort_bitwise()) < 0)
- scrub_cstat.add(ctx->delta_stats);
- }
-
+ apply_ctx_stats(ctx);
simple_repop_submit(repop);
}
assert(repop);
repop->queue_snap_trimmer = true;
- info.stats.stats.add(ctx->delta_stats);
+ pg->apply_ctx_stats(repop->ctx);
repops.insert(repop->get());
pg->simple_repop_submit(repop);
}
return discard_event();
}
+
/* WaitingOnReplicasObjects */
ReplicatedPG::WaitingOnReplicas::WaitingOnReplicas(my_context ctx)
: my_base(ctx),