From: Samuel Just Date: Sat, 17 Sep 2022 03:15:39 +0000 (-0700) Subject: ceph_dedup_tool: make SampleDedupWorkerThread::chunk_size const X-Git-Tag: v18.0.0~6^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=df71ca5592accf2d4681e6570d7e8af41160a0f0;p=ceph.git ceph_dedup_tool: make SampleDedupWorkerThread::chunk_size const Signed-off-by: Samuel Just --- diff --git a/src/tools/ceph_dedup_tool.cc b/src/tools/ceph_dedup_tool.cc index 1c1799409254..e95aad68aaca 100644 --- a/src/tools/ceph_dedup_tool.cc +++ b/src/tools/ceph_dedup_tool.cc @@ -642,7 +642,7 @@ private: size_t total_object_size = 0; std::set 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;