]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: create crush_ruleset_create_erasure helper
authorLoic Dachary <loic@dachary.org>
Mon, 3 Mar 2014 13:36:50 +0000 (14:36 +0100)
committerLoic Dachary <loic@dachary.org>
Mon, 17 Mar 2014 08:48:02 +0000 (09:48 +0100)
commit6a16eac7fe10fa2780a35fae2b4f6043a9fd71cb
tree1fd00c85e29b8580c4722bd2a8d640f203909ec9
parentbf7f773b466c37a67a5de5fbf1ab708c1aea91d6
mon: create crush_ruleset_create_erasure helper

Move the code bloc verbatim, from "osd crush rule create-erasure" to the
new crush_ruleset_create_erasure() method helper. This step helps
separate the code changes from the code moving around unmodified.

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