OpsExecutor::obc is moved out.
OpsExecutor::apply_stats() accesses OpsExecutor::obc indirectly
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
ceph_assert(want_mutate);
}
+ apply_stats();
if (want_mutate) {
auto log_entries = flush_clone_metadata(
prepare_transaction(ops),
all_completed = std::move(_all_completed);
}
- apply_stats();
-
if (op_effects.size()) [[unlikely]] {
// need extra ref pg due to apply_stats() which can be executed after
// informing snap mapper