]> git.proxmox.com Git - qemu.git/commit - posix-aio-compat.c
posix-aio: merge posix_aio_process_queue and posix_aio_read
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 12 Apr 2012 12:00:53 +0000 (14:00 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 19 Apr 2012 14:35:43 +0000 (16:35 +0200)
commitadfe92f6d18c0e0a3694e19abb58eb55fd0c5993
tree4c13e78d0dd82dc7b042bf8b18449bbda0f50ed7
parent8a83205d34fbd7b12061f4e85148eb4b587acdcc
posix-aio: merge posix_aio_process_queue and posix_aio_read

posix_aio_read already calls qemu_aio_process_queue, and dually
qemu_aio_process_queue is always followed by a select loop that calls
posix_aio_read.

No races are possible, so there is no need for a separate process_queue
callback.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
posix-aio-compat.c