Re: [Qemu-devel] [PATCH][RFC] Linux AIO support when using O_DIRECT

Christoph Hellwig
2009-03-23T17:26:07Z

On Mon, Mar 23, 2009 at 06:17:36PM +0200, Avi Kivity wrote:
> Instead of introducing yet another layer of indirection, you could add
> block-raw-linux-aio, which would be registered before block-raw-posix
> (which is realy block-raw-threadpool...), and resist a ->probe() if
> caching is enabled.

Exactly the kind of comment I was about to make, but I need to read a
little deeper to understand all the details.

But my gut feeling is that this abstraction doesn't help us very much,
especially with Avi's aiocb pools in place.