]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crush: update choose_args on adjust_item_weight 15311/head
authorLoic Dachary <ldachary@redhat.com>
Fri, 26 May 2017 21:46:10 +0000 (00:46 +0300)
committerLoic Dachary <ldachary@redhat.com>
Wed, 31 May 2017 07:30:46 +0000 (10:30 +0300)
commit2e5fba072d92dfda232b12aba84c199a08234b07
treecc63bd35999eca3cd7dbbcd07607c69a2b22461c
parentb02ad2326de9823674ec01f11ed5d9a27cd40f89
crush: update choose_args on adjust_item_weight

The osd_crush_update_weight_set (true by default) can be used to disable
the update of the weights.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/common/config_opts.h
src/crush/CrushWrapper.cc
src/crush/CrushWrapper.h
src/test/crush/crush-choose-args-expected-one-more-0.txt [new file with mode: 0644]
src/test/crush/crush-choose-args-expected-one-more-3.txt [new file with mode: 0644]
src/test/crush/crush-choose-args-expected-one-more.txt [deleted file]
src/test/crush/crush-choose-args.sh