From: myoungwon oh Date: Fri, 26 Jul 2019 10:40:31 +0000 (+0900) Subject: osd: fix wrong arguments when dropping refcount X-Git-Tag: v15.1.0~2047^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5badc4bd47093e8fbf32569688aee51029e14e5b;p=ceph-ci.git osd: fix wrong arguments when dropping refcount Signed-off-by: Myoungwon Oh --- diff --git a/src/osd/PrimaryLogPG.cc b/src/osd/PrimaryLogPG.cc index 9f5491616c2..c29e756abe0 100644 --- a/src/osd/PrimaryLogPG.cc +++ b/src/osd/PrimaryLogPG.cc @@ -2486,8 +2486,9 @@ int PrimaryLogPG::do_manifest_flush(OpRequestRef op, ObjectContextRef obc, Flush // decrement old chunk's reference count ObjectOperation dec_op; cls_chunk_refcount_put_op put_call; + put_call.source = soid; ::encode(put_call, in); - dec_op.call("refcount", "chunk_put", in); + dec_op.call("cas", "chunk_put", in); // we don't care dec_op's completion. scrub for dedup will fix this. tid = osd->objecter->mutate( tgt_soid.oid, oloc, dec_op, snapc,