Ilya Dryomov ab4ce2b5bd crush: clarify numrep vs endpos
Pass numrep (the width of the result) separately from the number of results
we want *this* iteration.  This makes things less awkward when we do a
recursive call (for chooseleaf) and want only one item.

Reflects ceph.git commit 1b567ee08972f268c11b43fc881e57b5984dd08b.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-12-31 20:32:19 +02:00
..
2013-12-31 20:32:19 +02:00
2013-05-01 21:17:15 -07:00
2010-11-21 10:04:04 -08:00
2011-07-19 11:25:04 -07:00
2013-02-25 15:37:18 -06:00
2013-12-31 20:32:09 +02:00