]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crush: add the dump_rule(int ruleset) method
authorLoic Dachary <loic@dachary.org>
Sun, 9 Feb 2014 20:18:45 +0000 (21:18 +0100)
committerLoic Dachary <loic@dachary.org>
Thu, 13 Feb 2014 11:14:05 +0000 (12:14 +0100)
commitdcfeee66cd0a903fd1307c1f9c0cfe1bae6217d4
tree9f24136e1ae282dfaf59ab49d320c42705f332f6
parentf77e8ea268fce1b6c5acc077dcd8fa93066a347d
crush: add the dump_rule(int ruleset) method

And implement dump_rules() using dump_rule(). The indentiation and
variable names are intentionaly left as is to not confuse code being
moved around and the code changes.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/crush/CrushWrapper.cc
src/crush/CrushWrapper.h
src/test/crush/TestCrushWrapper.cc