Function librbd_sys::rbd_discard
[−]
[src]
pub unsafe extern "C" fn rbd_discard(
image: rbd_image_t,
ofs: uint64_t,
len: uint64_t
) -> c_int
Trim the range from the image. It will be logically filled with zeroes.
Arguments
image
the image to trim a range fromofs
offset to start fromlen
bytes of image to trim