]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crushtool: add the "--check-names" option
authorKefu Chai <kchai@redhat.com>
Tue, 26 May 2015 04:08:36 +0000 (12:08 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 10 Jul 2015 07:40:00 +0000 (15:40 +0800)
commitff29a7f9dd21505c681881e609183aed9ac3250e
treeabf13f9062cb46abee61718f205b5bbc4c67617f
parent960ea49699f421ceb89c9e0c9430378a35f09a9a
crushtool: add the "--check-names" option

* so one is able to verify that the "ceph osd tree" won't chock on the
  new crush map because of dangling name/type references

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit d6b46d4c7b722945ce24ac2930381a109b1e3dda)
src/test/cli/crushtool/check-names.empty.crushmap.txt [new file with mode: 0644]
src/test/cli/crushtool/check-names.empty.t [new file with mode: 0644]
src/test/cli/crushtool/help.t
src/tools/crushtool.cc