]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crush: set straw_calc_version=1 for default+optimal; do not touch for presets
authorSage Weil <sage@redhat.com>
Fri, 5 Dec 2014 23:55:24 +0000 (15:55 -0800)
committerSage Weil <sage@redhat.com>
Wed, 10 Dec 2014 00:09:26 +0000 (16:09 -0800)
commitdd7b58f3b1aa1febfc6dc227937df93ee6e284eb
treebe51e34bea08bebc1d301f68fd3ef4fca35f2784
parentadf5c6de0aca24a53d3c7b4e7eeb0a5dce9db0f1
crush: set straw_calc_version=1 for default+optimal; do not touch for presets

When using the presets for compatibility (i.e., based on version), do not
touch the straw behavior, as it does not affect mapping or compatibility.
However, make a point of setting it by default and for optimal.

For most users, this means that they will not see any change unless they
explicitly enable the new behavior, or switch to default or optimal
tunables.  The idea is that if they touched it, they shouldn't be
too surprised by the subsequent data movement.

Signed-off-by: Sage Weil <sage@redhat.com>
src/crush/CrushWrapper.h