linux-aio: share one LinuxAioState within an AioContext
commit0187f5c9cb172771ba85c66e3bf61f8cde6d6561
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 4 Jul 2016 16:33:20 +0000 (4 18:33 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 18 Jul 2016 14:09:31 +0000 (18 15:09 +0100)
tree18529868935e436847aa696c35792c116d24af0e
parent4e90ccc28e53eb92ecbd0cdb67da454d783ea828
linux-aio: share one LinuxAioState within an AioContext

This has better performance because it executes fewer system calls
and does not use a bottom half per disk.

Originally proposed by Ming Lei.

[Changed #include "raw-aio.h" to "block/raw-aio.h" in win32-aio.c to fix
build error as reported by Peter Maydell <peter.maydell@linaro.org>.
--Stefan]

Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1467650000-51385-1-git-send-email-pbonzini@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
squash! linux-aio: share one LinuxAioState within an AioContext
async.c
block/linux-aio.c
block/raw-posix.c
block/raw-win32.c
block/win32-aio.c
include/block/aio.h
include/block/raw-aio.h [moved from block/raw-aio.h with 100% similarity]