]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crush: fix dump of has_v4_buckets
authorSage Weil <sage@redhat.com>
Fri, 10 Apr 2015 00:17:59 +0000 (17:17 -0700)
committerLoic Dachary <ldachary@redhat.com>
Fri, 10 Apr 2015 15:46:59 +0000 (17:46 +0200)
Backport: hammer
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit d6e23413017fb8f5d7f18d74e993ceeedb82d8bc)

src/crush/CrushWrapper.cc

index a18f7f5d1b57b39c46816b1a173ce0fae9f31fc3..d0c24af12c9cbdd4e3202795be72f34b65350e01 100644 (file)
@@ -1438,6 +1438,7 @@ void CrushWrapper::dump_tunables(Formatter *f) const
   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());
+  f->dump_int("has_v4_buckets", (int)has_v4_buckets());
 }
 
 void CrushWrapper::dump_rules(Formatter *f) const