From cf94cf3531a349bbd1fc6ee56c3fc260110a252a Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 11 Jul 2014 06:58:57 -0700 Subject: [PATCH] crush: include CRUSH_V3, v2/v3 rules checks in dump_tunables() Backport: firefly Signed-off-by: Sage Weil --- src/crush/CrushWrapper.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/crush/CrushWrapper.cc b/src/crush/CrushWrapper.cc index bb9ff2e5269a6..63e1ca32ff833 100644 --- a/src/crush/CrushWrapper.cc +++ b/src/crush/CrushWrapper.cc @@ -1244,6 +1244,9 @@ void CrushWrapper::dump_tunables(Formatter *f) const f->dump_int("require_feature_tunables", (int)has_nondefault_tunables()); f->dump_int("require_feature_tunables2", (int)has_nondefault_tunables2()); + f->dump_int("require_feature_tunables3", (int)has_nondefault_tunables3()); + f->dump_int("has_v2_rules", (int)has_v2_rules()); + f->dump_int("has_v3_rules", (int)has_v3_rules()); } void CrushWrapper::dump_rules(Formatter *f) const -- 2.47.3