Re: [RFC 09/11] aio-posix: add aio_add_sqe() API for user-defined io_uring requests

2025-06-05 Thread Stefan Hajnoczi
On Thu, May 29, 2025 at 03:02:16PM -0500, Eric Blake wrote: > On Wed, May 28, 2025 at 03:09:14PM -0400, Stefan Hajnoczi wrote: > > Introduce the aio_add_sqe() API for submitting io_uring requests in the > > current AioContext. This allows other components in QEMU, like the block > > layer, to take

Re: [RFC 09/11] aio-posix: add aio_add_sqe() API for user-defined io_uring requests

2025-05-29 Thread Eric Blake
On Wed, May 28, 2025 at 03:09:14PM -0400, Stefan Hajnoczi wrote: > Introduce the aio_add_sqe() API for submitting io_uring requests in the > current AioContext. This allows other components in QEMU, like the block > layer, to take advantage of io_uring features without creating their own > io_uring

Re: [RFC 09/11] aio-posix: add aio_add_sqe() API for user-defined io_uring requests

2025-05-28 Thread Eric Blake
On Wed, May 28, 2025 at 03:09:14PM -0400, Stefan Hajnoczi wrote: > Introduce the aio_add_sqe() API for submitting io_uring requests in the > current AioContext. This allows other components in QEMU, like the block > layer, to take advantage of io_uring features without creating their own > io_uring

[RFC 09/11] aio-posix: add aio_add_sqe() API for user-defined io_uring requests

2025-05-28 Thread Stefan Hajnoczi
Introduce the aio_add_sqe() API for submitting io_uring requests in the current AioContext. This allows other components in QEMU, like the block layer, to take advantage of io_uring features without creating their own io_uring context. This API supports nested event loops just like file descriptor