From: Gu Zhongyan Date: Wed, 25 Apr 2018 09:32:26 +0000 (+0800) Subject: osd/PrimaryLogPG: Fix log messages X-Git-Tag: v13.1.0~98^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F21639%2Fhead;p=ceph.git osd/PrimaryLogPG: Fix log messages output the content, rathor than the address of obc makes sense, just like what _copy_some() did. Signed-off-by: Gu Zhongyan --- diff --git a/src/osd/PrimaryLogPG.cc b/src/osd/PrimaryLogPG.cc index a5c260740f8e..3c4355fdea93 100644 --- a/src/osd/PrimaryLogPG.cc +++ b/src/osd/PrimaryLogPG.cc @@ -8806,7 +8806,7 @@ void PrimaryLogPG::_copy_some(ObjectContextRef obc, CopyOpRef cop) void PrimaryLogPG::_copy_some_manifest(ObjectContextRef obc, CopyOpRef cop, uint64_t start_offset) { - dout(10) << __func__ << " " << obc << " " << cop << dendl; + dout(10) << __func__ << " " << *obc << " " << cop << dendl; unsigned flags = 0; if (cop->flags & CEPH_OSD_COPY_FROM_FLAG_FLUSH)