]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd: added rbd_flatten_with_progress to librbd header 12905/head
authorRicardo Dias <rdias@suse.com>
Thu, 12 Jan 2017 14:30:29 +0000 (14:30 +0000)
committerRicardo Dias <rdias@suse.com>
Thu, 12 Jan 2017 14:30:29 +0000 (14:30 +0000)
Fixes: http://tracker.ceph.com/issues/15824
Signed-off-by: Ricardo Dias <rdias@suse.com>
src/include/rbd/librbd.h

index 9f2e060e6502be3f4cc775394babc3e919ac9a44..a6ba853931c330b3771e03b7928f693c143d42a9 100644 (file)
@@ -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().