Re: [Qemu-devel] Re: [PATCH 1/3] Refactor AIO interface to allow other AIO implementations

Avi Kivity
2008-04-18T16:32:16Z

Anthony Liguori wrote:
> Right now, not specifying the -aio option is equivalent to your proposed
> -aio auto.
>
> I guess I should include an info aio to let the user know what type of
> aio they are using. We can add selection criteria later but
> semantically, not specifying an explicit -aio option allows QEMU to
> choose whichever one it thinks is best.
>
>
For the majority of deployments posix aio should be sufficient. The few
that need something else can use Linux aio.

Of course, a managed environment can use Linux aio unconditionally if
knows the kernel has all the needed goodies.

--
Any sufficiently difficult bug is indistinguishable from a feature.