]> git.karo-electronics.de Git - karo-tx-linux.git/commit
crush: pass parent r value for indep call
authorIlya Dryomov <ilya.dryomov@inktank.com>
Tue, 24 Dec 2013 19:19:25 +0000 (21:19 +0200)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Tue, 31 Dec 2013 18:32:20 +0000 (20:32 +0200)
commit4158608139de02f5265ec4f41774af7418911016
treefe6b1afc043898e2e8de75dfa59dc32024ebe1af
parentab4ce2b5bdb5ca416756df3df6f5c63667a05065
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>
net/ceph/crush/mapper.c