path: root/src/
AgeCommit message (Collapse)Author
2019-09-21Add io_uring_wait_cqe_timeout()Jens Axboe
Like io_uring_wait_cqe(), except it accepts a timeout value as well. Note that an sqe is used internally to handle the timeout. Applications using this function must never set sqe->user_data to LIBURING_UDATA_TIMEOUT! Signed-off-by: Jens Axboe <>
2019-06-17Add support for eventfd registrationJens Axboe
Signed-off-by: Jens Axboe <>
2019-06-06Add io_uring_submit_and_wait()Jens Axboe
Works just like io_uring_submit(), but also allows retrieving events (or waiting/polling for them) in the same call. Signed-off-by: Jens Axboe <>
2019-06-04Add basic helpers for file/buffer registrationJens Axboe
Signed-off-by: Jens Axboe <>
2019-05-29liburing: export io_uring_queue_mmap symbolAustin Seipp
io_uring_queue_mmap wasn't exported from the ld map file, meaning the linker gave it private, static linkage in the resulting shared object, as opposed to global linkage. This results in the symbol seemingly missing at link-time, despite the existence of the symbol in the library itself. Signed-off-by: Austin Seipp <> Signed-off-by: Jens Axboe <>
2019-05-20Add missing symbols to linker version mapHrvoje Zeba
Some of the symbols were missing from linker version script so they weren't exported in the dynamic library. Signed-off-by: Hrvoje Zeba <> Signed-off-by: Jens Axboe <>
2019-04-18Rename completion helpersJens Axboe
We have io_uring_get_sqe() on the submission side, yet the completion side is named _completion. Rename as follows: io_uring_get_completion() io_uring_peek_cqe() iO_uring_wait_completion() io_uring_wait_cqe() This better tells the user what the _get variant does by calling it _peek instead, and we move to using _cqe() as the postfix instead of _completion. Signed-off-by: Jens Axboe <>
2019-01-13io_uring_get_iocb() -> io_uring_get_sqe()Jens Axboe
Missed this part when the switch was made to full 'sqe'. Signed-off-by: Jens Axboe <>
2019-01-08Add option for getting a completion without waitingJens Axboe
This now exposes two helpers: io_uring_get_completion() Return a completion, if we have one (or more) available in the ring io_uring_wait_completion() Return a completion, waiting for it if necessary Signed-off-by: Jens Axboe <>
2019-01-08Initial commitJens Axboe
Signed-off-by: Jens Axboe <>