]> git.proxmox.com Git - mirror_qemu.git/commit - block.c
block: switch bdrv_aio_writev() to coroutines
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Thu, 13 Oct 2011 12:08:25 +0000 (13:08 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 13 Oct 2011 13:02:54 +0000 (15:02 +0200)
commit1a6e115b19b0d3831d63bbacb843722070e6674c
treef6c410b167c9cb9e4c299bf392b00443e936ca98
parent6b7cb2479b2b8ac2a3368ade3e72bfd8121675c2
block: switch bdrv_aio_writev() to coroutines

More sync, aio, and coroutine unification.  Make bdrv_aio_writev() go
through coroutine request processing.

Remove the dirty block callback mechanism which was needed only for aio
processing and can be done more naturally in coroutine context.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c