]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/librados/test.cc: clean up EC pools' crush rules too 7987/head
authorDan Mick <dan.mick@redhat.com>
Thu, 26 Nov 2015 03:20:51 +0000 (19:20 -0800)
committerSage Weil <sage@redhat.com>
Tue, 8 Mar 2016 21:46:55 +0000 (16:46 -0500)
commit15a419be54a8e208b68db9ad53c893b7dd46d031
treea8704245b546e4c319d4fc480938ab47e64bab23
parent5eb2d6cf1ecb0c2d9b3caee10eff99c24d82b484
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