]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crush: rebuild shadow trees on removing crush rule
authorxie xingguo <xie.xingguo@zte.com.cn>
Fri, 18 Aug 2017 02:25:13 +0000 (10:25 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 24 Aug 2017 15:11:59 +0000 (23:11 +0800)
commit59f58216bf49a72e4879a3478a88d79f7aafb0fa
tree2bd175cea6f617a71a7a6db997fefaeccf26fa09
parent4fbf379bd37b2ce9ca29778e9a51899ca2f2cbde
crush: rebuild shadow trees on removing crush rule

In case this is the last crush rule which is still referencing
a specific device class. Otherwise the device class might stay
hanging.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit 968b72d8595996ee4d2e1364264c4c8203532045)
src/crush/CrushWrapper.cc