]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_dedup_tool: make SampleDedupWorkerThread::chunk_size const
authorSamuel Just <sjust@redhat.com>
Sat, 17 Sep 2022 03:15:39 +0000 (20:15 -0700)
committermyoungwon oh <ohmyoungwon@gmail.com>
Mon, 19 Sep 2022 04:22:10 +0000 (13:22 +0900)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/tools/ceph_dedup_tool.cc

index 1c1799409254ed9ba3232bfe35287b4306112734..e95aad68aaca4a9b804912187496934ac8c83bcb 100644 (file)
@@ -642,7 +642,7 @@ private:
   size_t total_object_size = 0;
 
   std::set<std::string> oid_for_evict;
-  size_t chunk_size = 0;
+  const size_t chunk_size = 0;
   pg_pool_t::fingerprint_t fp_type = pg_pool_t::TYPE_FINGERPRINT_NONE;
   std::string chunk_algo;
   SampleDedupGlobal &sample_dedup_global;