Re: can not get how many bytes read from rados_aio_read

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux