Skip to content
Commit f140662f authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

crush: decode and initialize chooseleaf_vary_r

Commit e2b149cc

 ("crush: add chooseleaf_vary_r tunable") added the
crush_map::chooseleaf_vary_r field but missed the decode part.  This
lead to misdirected requests caused by incorrect raw crush mapping
sets.

Fixes: http://tracker.ceph.com/issues/8226

Reported-and-Tested-by: default avatarDmitry Smirnov <onlyjob@member.fsf.org>
Signed-off-by: default avatarIlya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: default avatarSage Weil <sage@inktank.com>
parent 178eda29
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment