]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
src/tools/ceph_dedup_tool: verbose print only if debug is enabled
authormyoungwon oh <ohmyoungwon@gmail.com>
Fri, 23 Jun 2023 13:32:15 +0000 (13:32 +0000)
committermyoungwon oh <ohmyoungwon@gmail.com>
Tue, 29 Aug 2023 07:56:05 +0000 (07:56 +0000)
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
src/tools/ceph_dedup_tool.cc

index c8432f87fa26fbc3ec26e5ec78e5708880a4e02f..b4a461aabed5d479eb20902a17f54d51d7a64cd9 100644 (file)
@@ -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;