Queues the write and returns. The return value of the completion
will be 0 on success, negative error code on failure.
@param io the context in which the write will occur
@param oid name of the object
@param completion what to do when the write is safe and complete
@param buf data to write
@param len length of the data, in bytes
@param off byte offset in the object to begin writing at
@returns 0 on success, -EROFS if the io context specifies a snap_seq
other than LIBRADOS_SNAP_HEAD
Write data to an object asynchronously
Queues the write and returns. The return value of the completion will be 0 on success, negative error code on failure.
@param io the context in which the write will occur @param oid name of the object @param completion what to do when the write is safe and complete @param buf data to write @param len length of the data, in bytes @param off byte offset in the object to begin writing at @returns 0 on success, -EROFS if the io context specifies a snap_seq other than LIBRADOS_SNAP_HEAD