]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crush/CrushCompiler: make current set of tunables 'safe'
authorSage Weil <sage@inktank.com>
Sat, 7 Dec 2013 00:03:21 +0000 (16:03 -0800)
committerSage Weil <sage@inktank.com>
Sat, 7 Dec 2013 00:24:16 +0000 (16:24 -0800)
We can reenable this error the next time we add new tunables.

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

index 43ff2b1e8af689d0e8797706772791620369cc83..b8038ca8bdb06fe1bbb19049f605f4d8e8f7dfab 100644 (file)
@@ -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;