]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tools/crushtool: replicated-rule API support 15011/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Mon, 24 Apr 2017 03:36:50 +0000 (11:36 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Sat, 20 May 2017 03:21:41 +0000 (11:21 +0800)
commit2a7bb175f64f34ee4e3d697fb58168f9267a1dee
treecf5262bb2e4310f0eb3ec843615b93b7d60457ce
parent6a70b0705f6d5cdbd50df7b43962b71c803244e1
tools/crushtool: replicated-rule API support

This patch adds two interfaces to operate replicated crush rules,
namely "--create-simple-rule" and "--remove-rule".

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/test/cli/crushtool/add-item.t
src/test/cli/crushtool/help.t
src/tools/crushtool.cc