Re: [PATCH v3 3/5] block-backend: process I/O in the current AioContext

2023-09-13 Thread Eric Blake
On Tue, Sep 12, 2023 at 07:10:35PM -0400, Stefan Hajnoczi wrote: > Switch blk_aio_*() APIs over to multi-queue by using > qemu_get_current_aio_context() instead of blk_get_aio_context(). This > change will allow devices to process I/O in multiple IOThreads in the > future. > > I audited existing b

[PATCH v3 3/5] block-backend: process I/O in the current AioContext

2023-09-12 Thread Stefan Hajnoczi
Switch blk_aio_*() APIs over to multi-queue by using qemu_get_current_aio_context() instead of blk_get_aio_context(). This change will allow devices to process I/O in multiple IOThreads in the future. I audited existing blk_aio_*() callers: - migration/block.c: blk_mig_lock() protects the data acc