[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH][RFC] Refactor AIO to allow multiple AIO impleme
[Qemu-devel] Re: [PATCH][RFC] Refactor AIO to allow multiple AIO implementations
Thu, 11 Sep 2008 15:15:44 +0200
Thunderbird 126.96.36.199 (X11/20080723)
Anthony Liguori wrote:
> Gerd Hoffmann wrote:
>> Hmm, what is the long-term plan for this?
> Step one is to move the generic aio bits out of block-raw-posix (which
> this patch does).
> Step two is to move the posix-aio routines out of block-raw-posix.
> Step three would be to add a generic interface to allow block-raw-posix
> to use multiple aio implementations
> Step four would be to add a new aio implementation
> (I think the best
> route is a thread-pool based implementation).
Not sure about that. linux-aio would have the advantage that the kernel
knows about all the requests in flight and probably can do a better job
on I/O ordering and scheduling then. But once we can have multiple
different implementations we can just try ;)