]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph_test_rados_api_tier: fix cleanup of whiteouts 5050/head
authorSage Weil <sage@redhat.com>
Fri, 14 Nov 2014 06:33:10 +0000 (22:33 -0800)
committerNathan Cutler <ncutler@suse.com>
Tue, 29 Sep 2015 13:16:09 +0000 (15:16 +0200)
commit971eb3f6dddb509d15e5e4bcfd5e34d42ae2e75b
tree391d153917568ff47703faf6f593781ffb110895
parentb134a629863b4601892db03d7c4377040d556bdd
ceph_test_rados_api_tier: fix cleanup of whiteouts

Doing a normal DELETE on a whiteout returns ENOENT.  Use the IGNORE_CACHE
flag to make sure it removes the whiteout, too.

Fixes: #10052
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 8dde6a61921798aa188bd69406c8fa7afeb96b45)

Conflicts:
src/test/librados/TestCase.cc
            for it of type ObjectIterator:
            - use it->first instead of it->get_oid()
            - use it->second instead of it->get_locator()
src/test/librados/TestCase.cc