mirror of
https://github.com/ceph/ceph
synced 2025-01-19 17:41:39 +00:00
osd/ReplicatedPG: when do omapclear, it clear FLAG_OMAP at the same time.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
This commit is contained in:
parent
aeb8141c29
commit
53cd6420d3
@ -5765,6 +5765,7 @@ int ReplicatedPG::do_osd_ops(OpContext *ctx, vector<OSDOp>& ops)
|
||||
t->omap_clear(soid);
|
||||
ctx->delta_stats.num_wr++;
|
||||
obs.oi.clear_omap_digest();
|
||||
obs.oi.clear_flag(object_info_t::FLAG_OMAP);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user