From: myoungwon oh Date: Fri, 23 Jun 2023 13:32:15 +0000 (+0000) Subject: src/tools/ceph_dedup_tool: verbose print only if debug is enabled X-Git-Tag: v19.0.0~201^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bbce7f8ac8e9c5a096e59d6b388b0294ab8bff19;p=ceph.git src/tools/ceph_dedup_tool: verbose print only if debug is enabled Signed-off-by: Myoungwon Oh --- diff --git a/src/tools/ceph_dedup_tool.cc b/src/tools/ceph_dedup_tool.cc index c8432f87fa2..b4a461aabed 100644 --- a/src/tools/ceph_dedup_tool.cc +++ b/src/tools/ceph_dedup_tool.cc @@ -497,7 +497,9 @@ void ChunkScrub::chunk_scrub_common() } auto oid = i.oid; - cout << oid << std::endl; + if (debug) { + cout << oid << std::endl; + } chunk_refs_t refs; { bufferlist t;