]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crush: implement --show-bad-mappings for indep 923/head
authorLoic Dachary <loic@dachary.org>
Mon, 9 Dec 2013 13:35:00 +0000 (14:35 +0100)
committerLoic Dachary <loic@dachary.org>
Mon, 9 Dec 2013 20:10:29 +0000 (21:10 +0100)
commita888a57f79a6d1ab943efe12c10ad2654659c797
treebae17363c02b2ff74afa7df4a90a19fe7f286c18
parent20263dd30eb658242a3f73be508d8cc976d95556
crush: implement --show-bad-mappings for indep

Support the presence of ITEM_NONE device numbers in the indep mapping as
proof of a bad mapping. Implement the associated unit tests.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/crush/CrushTester.cc
src/test/cli/crushtool/bad-mappings.crushmap.txt
src/test/cli/crushtool/bad-mappings.t