diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2013-12-24 19:19:25 (GMT) |
---|---|---|
committer | Ilya Dryomov <ilya.dryomov@inktank.com> | 2013-12-31 18:32:19 (GMT) |
commit | ab4ce2b5bdb5ca416756df3df6f5c63667a05065 (patch) | |
tree | 416fb514da8cd03f0700bcb14bbf1b6e6ecaf11a /net/ceph/pagevec.c | |
parent | 9fe07182827d9913daf85f3e6a950578a3fd4c5d (diff) | |
download | linux-ab4ce2b5bdb5ca416756df3df6f5c63667a05065.tar.xz |
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>
Diffstat (limited to 'net/ceph/pagevec.c')
0 files changed, 0 insertions, 0 deletions