Function librbd_sys::rbd_flush [] [src]

pub unsafe extern "C" fn rbd_flush(image: rbd_image_t) -> c_int

Start a flush if caching is enabled. Get a callback when the currently pending writes are on disk.

Arguments

  • image the image to flush writes to
  • c what to call when flushing is complete @returns 0 on success, negative error code on failure