linux/net/ceph/crush
Ilya Dryomov 9fe0718282 crush: strip firstn conditionals out of crush_choose, rename
Now that indep is handled by crush_choose_indep, rename crush_choose to
crush_choose_firstn and remove all the conditionals.  This ends up
stripping out *lots* of code.

Note that it *also* makes it obvious that the shenanigans we were playing
with r' for uniform buckets were broken for firstn mode.  This appears to
have happened waaaay back in commit dae8bec9 (or earlier)... 2007.

Reflects ceph.git commit 94350996cb2035850bcbece6a77a9b0394177ec9.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-12-31 20:32:18 +02:00
..
crush.c crush: factor out (trivial) crush_destroy_rule() 2013-12-31 20:32:11 +02:00
hash.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
mapper.c crush: strip firstn conditionals out of crush_choose, rename 2013-12-31 20:32:18 +02:00