From 52fae71fb7eac60c8e74af0b03a9f5904fcf188d Mon Sep 17 00:00:00 2001 From: Ricardo Dias Date: Thu, 12 Jan 2017 14:30:29 +0000 Subject: [PATCH] rbd: added rbd_flatten_with_progress to librbd header Fixes: http://tracker.ceph.com/issues/15824 Signed-off-by: Ricardo Dias --- src/include/rbd/librbd.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/include/rbd/librbd.h b/src/include/rbd/librbd.h index 9f2e060e6502b..a6ba853931c33 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(). -- 2.39.5