summaryrefslogtreecommitdiff
path: root/net/ceph/pagevec.c
diff options
context:
space:
mode:
authorIlya Dryomov <ilya.dryomov@inktank.com>2013-12-24 19:19:25 (GMT)
committerIlya Dryomov <ilya.dryomov@inktank.com>2013-12-31 18:32:19 (GMT)
commitab4ce2b5bdb5ca416756df3df6f5c63667a05065 (patch)
tree416fb514da8cd03f0700bcb14bbf1b6e6ecaf11a /net/ceph/pagevec.c
parent9fe07182827d9913daf85f3e6a950578a3fd4c5d (diff)
downloadlinux-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