]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
ceph-dedup-tool: default to fastcdc
authorSage Weil <sage@newdream.net>
Thu, 21 May 2020 15:53:46 +0000 (10:53 -0500)
committerSage Weil <sage@newdream.net>
Wed, 27 May 2020 12:47:28 +0000 (07:47 -0500)
Signed-off-by: Sage Weil <sage@newdream.net>
src/tools/ceph_dedup_tool.cc

index c509b3062aee376eae6ac33c3bf4b6835b48380c..d8eb160035329aab2b558eb7e7bc6183e77db7fe 100644 (file)
@@ -492,7 +492,7 @@ int estimate_dedup_ratio(const std::map < std::string, std::string > &opts,
 {
   Rados rados;
   IoCtx io_ctx;
-  std::string chunk_algo;
+  std::string chunk_algo = "fastcdc";
   string fp_algo = "sha1";
   string pool_name;
   uint64_t chunk_size = 0;