]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/OSDMonitor: make default false-positive-probability 5% 1330/head 1331/head
authorSage Weil <sage@inktank.com>
Fri, 28 Feb 2014 16:06:03 +0000 (08:06 -0800)
committerSage Weil <sage@inktank.com>
Fri, 28 Feb 2014 16:06:03 +0000 (08:06 -0800)
This is a more conservative default (as in, less memory consumed) for
newly created cache pools.

Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/OSDMonitor.cc

index 7febc5b7203c47819ca22e166feeac47d9239712..c5b2e325ef3b93ca55e5a284be2b05871e26ef34 100644 (file)
@@ -3213,7 +3213,7 @@ int OSDMonitor::prepare_command_pool_set(map<string,cmd_vartype> &cmdmap,
       p.hit_set_params = HitSet::Params();
     else if (val == "bloom") {
       BloomHitSet::Params *bsp = new BloomHitSet::Params;
-      bsp->set_fpp(.01);
+      bsp->set_fpp(.05);
       p.hit_set_params = HitSet::Params(bsp);
     } else if (val == "explicit_hash")
       p.hit_set_params = HitSet::Params(new ExplicitHashHitSet::Params);