]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: add crush ruleset name to osd pool create
authorLoic Dachary <loic@dachary.org>
Sun, 16 Mar 2014 15:24:58 +0000 (16:24 +0100)
committerLoic Dachary <loic@dachary.org>
Mon, 17 Mar 2014 23:23:42 +0000 (00:23 +0100)
commit57743447568d38568361350b28f6800c47177189
treebd45bf8cde761d66ce68bd7a49eb2da7b5535f16
parent4f1b372e549db0ad66b17cfd750be7f1c9bbb604
mon: add crush ruleset name to osd pool create

The ruleset to be used for the new erasure coded pool was expected in
the properties, under the name crush_ruleset. It does not belong to the
erasure code profile and needs to be added to the prototype explicitly.

The crush ruleset name is added to the prototype of the prepare_new_pool
and prepare_pool_crush_ruleset methods.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/mon/MonCommands.h
src/mon/OSDMonitor.cc
src/mon/OSDMonitor.h
src/test/pybind/test_ceph_argparse.py