rados_aio_writesame

Asychronously write the same buffer multiple times

Queues the writesame and returns.

The return value of the completion will be 0 on success, negative error code on failure.

@param io the io context in which the write will occur @param oid name of the object @param completion what to do when the writesame is safe and complete @param buf data to write @param data_len length of the data, in bytes @param write_len the total number of bytes to write @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

extern (C)
int
rados_aio_writesame
(,
const(char)* oid
,,
const(char)* buf
,
size_t data_len
,
size_t write_len
,
ulong off
)

Meta