]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
osd: fix wrong arguments when dropping refcount
authormyoungwon oh <omwmw@sk.com>
Fri, 26 Jul 2019 10:40:31 +0000 (19:40 +0900)
committermyoungwon oh <omwmw@sk.com>
Fri, 26 Jul 2019 10:40:31 +0000 (19:40 +0900)
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
src/osd/PrimaryLogPG.cc

index 9f5491616c2e695fb565bc02fcb765c4134e19ac..c29e756abe05ef076ac00b06e8b3014890cb3349 100644 (file)
@@ -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,