]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: tweaked trash purge API
authorJason Dillaman <dillaman@redhat.com>
Thu, 10 Jan 2019 14:43:25 +0000 (09:43 -0500)
committerJason Dillaman <dillaman@redhat.com>
Fri, 11 Jan 2019 15:40:54 +0000 (10:40 -0500)
commit504f4e78ef51fd964e6f7cb89993c1c50646cc1a
tree9ee18b82f61d19facbdc4b069e6bd61f538da159
parenta3155c3fc2db2a959928bcba16d4d2267cb940f0
librbd: tweaked trash purge API

Removed the internal usage of the public librbd API, avoided double-opening
image to determine data pool, and fixed issues with the unit test case.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/api/Trash.cc
src/pybind/rbd/rbd.pyx
src/test/librados_test_stub/TestRadosClient.cc
src/test/librbd/test_librbd.cc
src/test/pybind/test_rbd.py