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 <
[email protected]>.
--Stefan]
Acked-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-id:
1467650000[email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
squash! linux-aio: share one LinuxAioState within an AioContext