]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PrimaryLogPG: Fix log messages 21639/head
authorGu Zhongyan <guzhongyan@360.cn>
Wed, 25 Apr 2018 09:32:26 +0000 (17:32 +0800)
committerGu Zhongyan <guzhongyan@360.cn>
Wed, 25 Apr 2018 09:32:26 +0000 (17:32 +0800)
output the content, rathor than the address of obc makes sense,
just like what _copy_some() did.

Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
src/osd/PrimaryLogPG.cc

index a5c260740f8e609d2887661c8991b4d8943470e7..3c4355fdea9301107cca55cf1fd7a2d67dd6252b 100644 (file)
@@ -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)