From: Sage Weil Date: Sat, 7 Dec 2013 00:03:21 +0000 (-0800) Subject: crush/CrushCompiler: make current set of tunables 'safe' X-Git-Tag: v0.74~20^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3b3cbf52fb6ac3cd99af115f6c5b4a096809d50c;p=ceph.git crush/CrushCompiler: make current set of tunables 'safe' We can reenable this error the next time we add new tunables. Signed-off-by: Sage Weil --- diff --git a/src/crush/CrushCompiler.cc b/src/crush/CrushCompiler.cc index 43ff2b1e8af6..b8038ca8bdb0 100644 --- a/src/crush/CrushCompiler.cc +++ b/src/crush/CrushCompiler.cc @@ -348,10 +348,16 @@ int CrushCompiler::parse_tunable(iter_t const& i) return -1; } + /* + + current crop of tunables are all now "safe". reenable this when we + add new ones that are ... new. + if (!unsafe_tunables) { err << "tunables are NOT FULLY IMPLEMENTED; enable with --enable-unsafe-tunables to enable this feature" << std::endl; return -1; } + */ if (verbose) err << "tunable " << name << " " << val << std::endl; return 0;