diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2013-12-24 23:19:25 +0400 |
---|---|---|
committer | Ilya Dryomov <ilya.dryomov@inktank.com> | 2013-12-31 22:32:20 +0400 |
commit | 4158608139de02f5265ec4f41774af7418911016 (patch) | |
tree | fe6b1afc043898e2e8de75dfa59dc32024ebe1af /include/linux/crush/crush.h | |
parent | ab4ce2b5bdb5ca416756df3df6f5c63667a05065 (diff) | |
download | linux-4158608139de02f5265ec4f41774af7418911016.tar.xz |
crush: pass parent r value for indep call
Pass down the parent's 'r' value so that we will sample different values in
the recursive call when the parent tries multiple times. This avoids doing
useless work (calling multiple times and trying the same values).
Reflects ceph.git commit 2731d3030d7a3e80922b7f1b7756f9a4a124bac5.
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'include/linux/crush/crush.h')
0 files changed, 0 insertions, 0 deletions