From e5fcb156875a0658440bd0ddc7714bd87c613d3d Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Thu, 26 Sep 2013 15:01:48 -0700 Subject: fixup 'ReplicatedPG: allow CopyOps to optionally clean up themselves' --- src/osd/ReplicatedPG.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 04906ee1240..22c06713111 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -4307,6 +4307,7 @@ void ReplicatedPG::process_copy_chunk(hobject_t oid, tid_t tid, int r) tid_t rep_tid = osd->get_tid(); osd_reqid_t reqid(osd->get_cluster_msgr_name(), 0, rep_tid); OpContext *tctx = new OpContext(OpRequestRef(), reqid, ops, &ctx->obc->obs, ctx->obc->ssc, this); + tctx->copy_op = cop; tctx->mtime = ceph_clock_now(g_ceph_context); RepGather *repop = new_repop(tctx, ctx->obc, rep_tid); finish_copy(tctx); -- cgit v1.2.1