mirror of
https://github.com/ceph/ceph
synced 2025-02-08 03:18:12 +00:00
osd: Remove the duplicate oi.clear_data_digest
Fixes: https://tracker.ceph.com/issues/53240 Signed-off-by: jiawd <jiawendong@xtaotech.com>
This commit is contained in:
parent
aeafd2e9a4
commit
83d3523bb0
@ -6740,7 +6740,6 @@ int PrimaryLogPG::do_osd_ops(OpContext *ctx, vector<OSDOp>& ops)
|
||||
oi.size - op.extent.truncate_size);
|
||||
ctx->modified_ranges.union_of(trim);
|
||||
ctx->clean_regions.mark_data_region_dirty(op.extent.truncate_size, oi.size - op.extent.truncate_size);
|
||||
oi.clear_data_digest();
|
||||
}
|
||||
if (op.extent.truncate_size != oi.size) {
|
||||
truncate_update_size_and_usage(ctx->delta_stats,
|
||||
|
Loading…
Reference in New Issue
Block a user