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

Reply via email to