summaryrefslogtreecommitdiffstats
path: root/src/crush/builder.c
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2014-12-02 23:09:13 +0100
committerSage Weil <sage@redhat.com>2014-12-03 18:25:00 +0100
commit50e2ceefee6a5dfbecbe54890139b1fa80a313c8 (patch)
tree586523c5aa79915c5e6168b43ac8f6e7eac71c3c /src/crush/builder.c
parentcrush/CrushWrapper: dump chooseleaf_vary_r with other tunables (diff)
downloadceph-50e2ceefee6a5dfbecbe54890139b1fa80a313c8.tar.xz
ceph-50e2ceefee6a5dfbecbe54890139b1fa80a313c8.zip
crush: add straw_calc_version tunable
It doesn't do anything, yet. Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'src/crush/builder.c')
-rw-r--r--src/crush/builder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crush/builder.c b/src/crush/builder.c
index a67fc20643b..cbcac36c3db 100644
--- a/src/crush/builder.c
+++ b/src/crush/builder.c
@@ -29,6 +29,7 @@ struct crush_map *crush_create()
m->choose_total_tries = 19;
m->chooseleaf_descend_once = 0;
m->chooseleaf_vary_r = 0;
+ m->straw_calc_version = 0;
return m;
}