]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/rbd: flatten, remove, trash_remove, migration progress callback
authorJason Dillaman <dillaman@redhat.com>
Mon, 15 Jul 2019 21:35:37 +0000 (17:35 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 25 Jul 2019 12:25:03 +0000 (08:25 -0400)
commit6dc8249c7ba2553acb686a2462de93239f1f07b4
tree3654b45b65f6d9033b49de02d8ae7c3558989004
parent361e51f3fb4f146048995e5adbeb8ff90685fc53
pybind/rbd: flatten, remove, trash_remove, migration progress callback

This callback can be used to track progress and also to attempt to cancel
the operation while it's in-progress by returning a negative error code
from the callback.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/pybind/rbd/rbd.pyx
src/test/pybind/test_rbd.py