[Qemu-devel] [PATCH 2/2] aio: use Linux AIO even if nocache is not specified

2011-07-27 Thread Frediano Ziglio
Currently Linux AIO are used only if nocache is specified. Linux AIO works in all cases. The only problem is that currently Linux AIO does not align data so I add a test that use POSIX AIO in this case. Signed-off-by: Frediano Ziglio fredd...@gmail.com --- block/raw-posix.c | 23

Re: [Qemu-devel] [PATCH 2/2] aio: use Linux AIO even if nocache is not specified

2011-07-27 Thread Christoph Hellwig
On Wed, Jul 27, 2011 at 08:25:26PM +0200, Frediano Ziglio wrote: Currently Linux AIO are used only if nocache is specified. Linux AIO works in all cases. The only problem is that currently Linux AIO does not align data so I add a test that use POSIX AIO in this case. The kernel will accept