Efficiently copy a portion of one object to another
If the underlying filesystem on the OSD supports it, this will be a
copy-on-write clone.
The src and dest objects must be in the same pg. To ensure this,
the io context should have a locator key set (see
rados_ioctx_locator_set_key()).
@param io the context in which the data is cloned
@param dst the name of the destination object
@param dst_off the offset within the destination object (in bytes)
@param src the name of the source object
@param src_off the offset within the source object (in bytes)
@param len how much data to copy
@returns 0 on success, negative error code on failure
Efficiently copy a portion of one object to another
If the underlying filesystem on the OSD supports it, this will be a copy-on-write clone.
The src and dest objects must be in the same pg. To ensure this, the io context should have a locator key set (see rados_ioctx_locator_set_key()).
@param io the context in which the data is cloned @param dst the name of the destination object @param dst_off the offset within the destination object (in bytes) @param src the name of the source object @param src_off the offset within the source object (in bytes) @param len how much data to copy @returns 0 on success, negative error code on failure