Re: [PATCH v2 4/4] io: follow coroutine AioContext in qio_channel_yield()

2023-08-31 Thread Eric Blake
On Wed, Aug 30, 2023 at 08:54:40AM +0100, Daniel P. Berrangé wrote: > > > > With those minor fixes, > > > > Reviewed-by: Eric Blake > > Acked-by: Daniel P. Berrangé > > Eric, feel free to merge the two io subsystem changes at the same time > as the NBD changes. Ok; I'm queuing this series

Re: [PATCH v2 4/4] io: follow coroutine AioContext in qio_channel_yield()

2023-08-30 Thread Daniel P . Berrangé
On Tue, Aug 29, 2023 at 02:32:46PM -0500, Eric Blake wrote: > On Tue, Aug 29, 2023 at 12:06:22PM -0400, Stefan Hajnoczi wrote: > > The ongoing QEMU multi-queue block layer effort makes it possible for > > multiple > > threads to process I/O in parallel. The nbd block driver is not compatible > >

Re: [PATCH v2 4/4] io: follow coroutine AioContext in qio_channel_yield()

2023-08-29 Thread Eric Blake
On Tue, Aug 29, 2023 at 12:06:22PM -0400, Stefan Hajnoczi wrote: > The ongoing QEMU multi-queue block layer effort makes it possible for multiple > threads to process I/O in parallel. The nbd block driver is not compatible > with > the multi-queue block layer yet because QIOChannel cannot be used

Re: [PATCH v2 4/4] io: follow coroutine AioContext in qio_channel_yield()

2023-08-29 Thread Stefan Hajnoczi
On Tue, Aug 29, 2023 at 02:32:46PM -0500, Eric Blake wrote: > On Tue, Aug 29, 2023 at 12:06:22PM -0400, Stefan Hajnoczi wrote: > > The ongoing QEMU multi-queue block layer effort makes it possible for > > multiple > > threads to process I/O in parallel. The nbd block driver is not compatible > >

[PATCH v2 4/4] io: follow coroutine AioContext in qio_channel_yield()

2023-08-29 Thread Stefan Hajnoczi
The ongoing QEMU multi-queue block layer effort makes it possible for multiple threads to process I/O in parallel. The nbd block driver is not compatible with the multi-queue block layer yet because QIOChannel cannot be used easily from coroutines running in multiple threads. This series changes