From: Ricardo Dias Date: Thu, 12 Jan 2017 14:30:29 +0000 (+0000) Subject: rbd: added rbd_flatten_with_progress to librbd header X-Git-Tag: v12.0.0~212^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=52fae71fb7eac60c8e74af0b03a9f5904fcf188d;p=ceph.git rbd: added rbd_flatten_with_progress to librbd header Fixes: http://tracker.ceph.com/issues/15824 Signed-off-by: Ricardo Dias --- diff --git a/src/include/rbd/librbd.h b/src/include/rbd/librbd.h index 9f2e060e6502..a6ba853931c3 100644 --- a/src/include/rbd/librbd.h +++ b/src/include/rbd/librbd.h @@ -419,6 +419,10 @@ CEPH_RBD_API int rbd_snap_set(rbd_image_t image, const char *snapname); CEPH_RBD_API int rbd_flatten(rbd_image_t image); +CEPH_RBD_API int rbd_flatten_with_progress(rbd_image_t image, + librbd_progress_fn_t cb, + void *cbdata); + /** * List all images that are cloned from the image at the * snapshot that is set via rbd_snap_set().