]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: "ceph osd crush rule rename" support
authorxie xingguo <xie.xingguo@zte.com.cn>
Tue, 15 Aug 2017 08:46:15 +0000 (16:46 +0800)
committerSage Weil <sage@redhat.com>
Fri, 25 Aug 2017 15:22:14 +0000 (11:22 -0400)
commit09fab2f3bda6ae1d2b295af36348cd5905cbf3ce
tree713523236e0b718d4279e2f08ad3b8a853d934b3
parent29243b07ad76cc20642d70834b868fb44c3200ae
mon: "ceph osd crush rule rename" support

User may specify a rule with the same name of the pool that it serves.
Since a pool can be renamed, so does the rule.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit a5075ed253940471b347ba0773f66ea6e61398d0)
qa/workunits/mon/crush_ops.sh
src/crush/CrushWrapper.cc
src/crush/CrushWrapper.h
src/mon/MonCommands.h
src/mon/OSDMonitor.cc