From: Sage Weil Date: Tue, 1 Oct 2013 23:24:20 +0000 (-0700) Subject: osd/ReplicatedPG: mark objects dirty in make_writeable() X-Git-Tag: v0.71~44^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7e3084eb178601aea4402bd2434d06a91f978d47;p=ceph.git osd/ReplicatedPG: mark objects dirty in make_writeable() Signed-off-by: Sage Weil --- diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 960305bd21e3..20d589e0a2ae 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -3987,6 +3987,9 @@ void ReplicatedPG::make_writeable(OpContext *ctx) dout(20) << "make_writeable " << soid << " snapset=" << ctx->snapset << " snapc=" << snapc << dendl;; + // we will mark the object dirty + ctx->new_obs.oi.set_flag(object_info_t::FLAG_DIRTY); + // use newer snapc? if (ctx->new_snapset.seq > snapc.seq) { snapc.seq = ctx->new_snapset.seq;