]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/librados/test.cc: clean up EC pools' crush rules too 8052/head
authorDan Mick <dan.mick@redhat.com>
Thu, 26 Nov 2015 03:20:51 +0000 (19:20 -0800)
committerXiaoxi Chen <xiaoxchen@ebay.com>
Sat, 12 Mar 2016 02:23:37 +0000 (19:23 -0700)
commit57fd7f858c220af362b330d12db0e87de82b4346
tree6bc0604d59286ef0206d1b381c8d3a067efc20d3
parent35eae5fbddd2b271a10db9a69d4c4e34029bca06
test/librados/test.cc: clean up EC pools' crush rules too

SetUp was adding an erasure-coded pool, which automatically adds
a new crush rule named after the pool, but only removing the
pool.  Remove the crush rule as well.

http://tracker.ceph.com/issues/13878 Fixes: #13878

Signed-off-by: Dan Mick <dan.mick@redhat.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit 04b4795f81c15bfcb62ba5807745470ce0e5e949)
src/test/librados/test.cc