The user mtime and local_mtime are normally set in finish_ctx based on the
value of ctx->mtime; clear that to avoid this update.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
[Sage: simplified]
Signed-off-by: Sage Weil <sage@redhat.com>
RepGather *repop = simple_repop_create(obc);
OpContext *ctx = repop->ctx;
ctx->at_version = get_next_version();
+ ctx->mtime = utime_t(); // do not update mtime
ctx->new_obs.oi.set_data_digest(p->second.first);
ctx->new_obs.oi.set_omap_digest(p->second.second);
finish_ctx(ctx, pg_log_entry_t::MODIFY, true, true);