]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph_test_rados_api: fix cleanup of cache pool
authorSage Weil <sage@redhat.com>
Sun, 10 Aug 2014 19:15:38 +0000 (12:15 -0700)
committerSage Weil <sage@redhat.com>
Wed, 13 Aug 2014 19:55:25 +0000 (12:55 -0700)
commit3be0d731cbe158d837d05c907aefe16aa95977be
tree4fce3e401dfd27ec82cbefb22e9c51d845521593
parent7f511ef7fd55cca8f1babaf696ca0faa0e1e411d
ceph_test_rados_api: fix cleanup of cache pool

We can't simply try to delete everything in there because some items may
be whiteouts.  Instead, flush+evict everything, then remove overlay, and
*then* delete what remains.

Fixes: #9055
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit ebbe8aab17cfa2281902f167a706639535da4010)
src/test/librados/tier.cc