On Tue, Jul 28, 2015 at 2:43 PM, deanraccoon <deanraccoon@xxxxxxxxx> wrote: > Dear list, > I used the C API "rados_aio_read" to improve some read performace. > But it seems there is no way to get exactly how many bytes I read from rados. > the callback function will not return this infomation either. > > so, it there anyone who could enlighten me how to do this? You wait for completion and get a return value from the completion, I think. See rados_aio_get_return_value(). Thanks, Ilya -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html