|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH v2 1/3] block: block: introduce bdrv_io_plug() and bdrv_io_unplug() |
Date: | Wed, 02 Jul 2014 12:24:46 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
Il 02/07/2014 12:02, Ming Lei ha scritto:
Actually linux-aio can support to submit read/write to multi files, and virtio-scsi does have the use case, so in future io queue should be per aio-context as I posted 1st time. And I am wondering if multiwrite-like APIs can fit in this situation.Though where would you get the requests for two different files from, within the same bdrv_plug/unplug block?I think it is doable if io queue is per aio_context.
Yes, but that would basically mean moving linux-aio functionality to AioContext. Effectively it's a rewrite of linux-aio.c.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |