]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crush: builder: creating crush map with optimal configurations 14209/head
authorSahid Orentino Ferdjaoui <sahid.ferdjaoui@redhat.com>
Tue, 28 Mar 2017 14:16:43 +0000 (10:16 -0400)
committerLoic Dachary <ldachary@redhat.com>
Tue, 28 Mar 2017 21:33:17 +0000 (23:33 +0200)
commit855d207a85110e344e05e9c31c9d3f6105a2dbbd
tree21a6212dcc9625de5dfe839322774f13df139466
parentb0fc817458b819c6e598a2b1ce04304621b7d144
crush: builder: creating crush map with optimal configurations

In this commit we update the behavior of crush_create(...) to return a
crush_map initialized with optimal configurations. We also provide a
function set_legacy_crush_map(...) to allow users comming back to the
legacy configurations.

Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@redhat.com>
src/crush/builder.c
src/crush/builder.h