commit | ab4ce2b5bdb5ca416756df3df6f5c63667a05065 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <ilya.dryomov@inktank.com> | Tue Dec 24 21:19:25 2013 +0200 |
committer | Ilya Dryomov <ilya.dryomov@inktank.com> | Tue Dec 31 20:32:19 2013 +0200 |
tree | 416fb514da8cd03f0700bcb14bbf1b6e6ecaf11a | |
parent | 9fe07182827d9913daf85f3e6a950578a3fd4c5d [diff] |
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>