]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crushtool: set type 0 name "osd" for --build option
authorSangdi Xu <xu.sangdi@h3c.com>
Thu, 17 Dec 2015 09:24:02 +0000 (17:24 +0800)
committerSangdi Xu <xu.sangdi@h3c.com>
Thu, 17 Dec 2015 09:28:55 +0000 (17:28 +0800)
commit895bf8b8e9855449f989263643036dae426dbfde
tree693f7097602e38cab3f62270e403d6b6660006fd
parentf9f4d5c6628fe75fdf55313c37f3de7575bdd91a
crushtool: set type 0 name "osd" for --build option

The crushmap built by crushtool cannot be used directly as the name of type 0 is not specified.
We may decompile the crushmap(it will automatically add type 0) and then recompile it to make it usable, but that's extra effort.

Signed-off-by: Sangdi Xu <xu.sangdi@h3c.com>
src/test/cli/crushtool/arg-order-checks.t
src/test/cli/crushtool/build.t
src/tools/crushtool.cc