From 715743f5737d45c00d44dc04ab29bcfb5f7d38ce Mon Sep 17 00:00:00 2001 From: Gu Zhongyan Date: Wed, 25 Apr 2018 17:32:26 +0800 Subject: [PATCH] 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 --- src/osd/PrimaryLogPG.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/PrimaryLogPG.cc b/src/osd/PrimaryLogPG.cc index a5c260740f8e6..3c4355fdea930 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) -- 2.39.5