]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crush/mapper: new SET_CHOOSE_LEAF_TRIES command
authorSage Weil <sage@inktank.com>
Tue, 3 Dec 2013 16:16:41 +0000 (08:16 -0800)
committerSage Weil <sage@inktank.com>
Tue, 3 Dec 2013 22:41:25 +0000 (14:41 -0800)
commitc43c893be872f709c787bc57f46c0e97876ff681
tree7aec95efae50129d4797896ab28c412e852d99a0
parent2731d3030d7a3e80922b7f1b7756f9a4a124bac5
crush/mapper: new SET_CHOOSE_LEAF_TRIES command

Explicitly control the number of sample attempts, and allow the number of
tries in the recursive call to be explicitly controlled via the rule. This
is important because the amount of time we want to spend looking for a
solution may be rule dependent (e.g., higher for the wide indep pool than
the rep pools).

(We should do the same for the other tunables, by the way!)

Signed-off-by: Sage Weil <sage@inktank.com>
src/crush/crush.h
src/crush/mapper.c