alistair23-linux/net/ceph/crush
Ilya Dryomov 4158608139 crush: pass parent r value for indep call
Pass down the parent's 'r' value so that we will sample different values in
the recursive call when the parent tries multiple times.  This avoids doing
useless work (calling multiple times and trying the same values).

Reflects ceph.git commit 2731d3030d7a3e80922b7f1b7756f9a4a124bac5.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-12-31 20:32:20 +02:00
..
crush.c crush: factor out (trivial) crush_destroy_rule() 2013-12-31 20:32:11 +02:00
hash.c
mapper.c crush: pass parent r value for indep call 2013-12-31 20:32:20 +02:00