]> git.proxmox.com Git - qemu.git/commit
raw/linux-aio: Also initialize POSIX AIO
authorKevin Wolf <kwolf@redhat.com>
Tue, 20 Oct 2009 09:33:12 +0000 (11:33 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 27 Oct 2009 17:28:35 +0000 (12:28 -0500)
commitd2e4634504768d287f5d68ae45ca5995177aea1c
tree09849fcd7dbf7c986a09239c82dc344861e97490
parentc5baaa489f5557fa01431ba0c5de28b43fc9631e
raw/linux-aio: Also initialize POSIX AIO

When using Linux AIO raw still falls back to POSIX AIO sometimes, so we should
initialize it.

Not initializing it happens to work if POSIX AIO is used by another drive, or
if the format is not specified (probing the format uses POSIX AIO) or by pure
luck (e.g. it doesn't seem to happen any more with qcow2 since we have re-added
synchronous qcow2 functions).

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
block/raw-posix.c