Block until all pending writes in an io context are safe
This is not equivalent to calling rados_aio_wait_for_safe() on all
write completions, since this waits for the associated callbacks to
complete as well.
@note BUG: always returns 0, should be void or accept a timeout
@param io the context to flush
@returns 0 on success, negative error code on failure
Block until all pending writes in an io context are safe
This is not equivalent to calling rados_aio_wait_for_safe() on all write completions, since this waits for the associated callbacks to complete as well.
@note BUG: always returns 0, should be void or accept a timeout
@param io the context to flush @returns 0 on success, negative error code on failure