]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crush/CrushWrapper: fill in weight-sets when we build shadow trees
authorSage Weil <sage@redhat.com>
Mon, 7 Aug 2017 21:56:06 +0000 (17:56 -0400)
committerSage Weil <sage@redhat.com>
Fri, 11 Aug 2017 13:40:11 +0000 (09:40 -0400)
commit0ed55e6150e3d82b2955cf3e9fa0f01b36a6474a
treebd9fbc8c353561aba0f7681a7d696becfe502521
parent2649b27d13d364c6533d514b0d0df53fd6519551
crush/CrushWrapper: fill in weight-sets when we build shadow trees

When we build the shadow buckets for the class hierarchies, we need
to fill in the weight-sets for each shadow bucket too.

Skip the ids vector for now since it's not yet used by anything.

Fixes: http://tracker.ceph.com/issues/20939
Signed-off-by: Sage Weil <sage@redhat.com>
src/crush/CrushWrapper.cc
src/crush/CrushWrapper.h
src/test/crush/CrushWrapper.cc