]> 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>
Sun, 18 Aug 2019 20:47:06 +0000 (16:47 -0400)
commit61a065d140c127b1e40c4c1b5ad1b8d1c48414c3
treee852d1380efca27b3f570a3eb86066b794547962
parent05eb65adc92e3f7002f92976480ed69575c306d2
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>
(cherry picked from commit 6dc8249c7ba2553acb686a2462de93239f1f07b4)
src/pybind/rbd/rbd.pyx
src/test/pybind/test_rbd.py