From: myoungwon oh Date: Mon, 16 May 2022 07:06:05 +0000 (+0900) Subject: osd: do not make the manifest object dirty after tier-evict X-Git-Tag: v18.0.0~309^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=710c4a245c040209965dc58edd3e866b2cbc7325;p=ceph-ci.git osd: do not make the manifest object dirty after tier-evict Once current tier-evict is called, the object become dirty even though there is no changes before---tier-evict just modifies chunks' state to missing, so that no need to change object's state to dirty. This is not intened hehavior. Therefore, this commits adds a line to prevent being dirty. Signed-off-by: Myoungwon Oh --- diff --git a/src/osd/PrimaryLogPG.cc b/src/osd/PrimaryLogPG.cc index 1f23145570c..145d02365f7 100644 --- a/src/osd/PrimaryLogPG.cc +++ b/src/osd/PrimaryLogPG.cc @@ -7430,6 +7430,7 @@ int PrimaryLogPG::do_osd_ops(OpContext *ctx, vector& ops) oi.clear_data_digest(); ctx->delta_stats.num_wr++; ctx->cache_operation = true; + ctx->undirty = true; osd->logger->inc(l_osd_tier_evict); }