Message ID | 20230823235938.1398382-1-stefanha@redhat.com |
---|---|
Headers | show |
Series | block-backend: process I/O in the current AioContext | expand |
Am 24.08.2023 um 01:59 hat Stefan Hajnoczi geschrieben: > v2 > - Add patch to remove AIOCBInfo->get_aio_context() [Kevin] > - Add patch to use qemu_get_current_aio_context() in block-coroutine-wrapper so > that the wrappers use the current AioContext instead of > bdrv_get_aio_context(). > > 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. > > The final patch requires my QIOChannel AioContext series to pass > tests/qemu-iotests/check -qcow2 281 because the nbd block driver is now > accessed from the main loop thread in addition to the IOThread: > https://lore.kernel.org/qemu-devel/20230823234504.1387239-1-stefanha@redhat.com/T/#t > > Based-on: 20230823234504.1387239-1-stefanha@redhat.com While the dependency isn't in yet, I'm already applying patches 1-3. Patch 4 needs a respin anyway to update the failing test case. Kevin