]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crushtool: enable check against max_id
authorKefu Chai <kchai@redhat.com>
Tue, 26 May 2015 07:35:10 +0000 (15:35 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 31 May 2015 17:24:54 +0000 (01:24 +0800)
commitd0658dd3cdf072b2a7c2a1986f8785a697c591ee
tree509646e6a70db5995fa19e5e9212cb356c018ee0
parente640d89240017956b8c7411babb86be0f1e2b172
crushtool: enable check against max_id

add an argument "max_id" for "--check-names" to check if any item
has an id greater or equal to given "max_id" in crush map.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/cli/crushtool/check-names.max-id.t [new file with mode: 0644]
src/test/cli/crushtool/help.t
src/tools/crushtool.cc