]> git.proxmox.com Git - qemu.git/commit - async.c
async: Remove AsyncContext
authorKevin Wolf <kwolf@redhat.com>
Fri, 15 Jul 2011 14:36:40 +0000 (16:36 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 2 Aug 2011 13:53:41 +0000 (15:53 +0200)
commit384acbf46b70edf0d2c1648aa1a92a90bcf7057d
tree38459f728adf03df6b83a6273484f61d05e0dd01
parent52b8eb60132b27ad53476490e9d7579003390cfa
async: Remove AsyncContext

The purpose of AsyncContexts was to protect qcow and qcow2 against reentrancy
during an emulated bdrv_read/write (which includes a qemu_aio_wait() call and
can run AIO callbacks of different requests if it weren't for AsyncContexts).

Now both qcow and qcow2 are protected by CoMutexes and AsyncContexts can be
removed.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
async.c
block.c
block/qed-table.c
block/qed.c
linux-aio.c
posix-aio-compat.c
qemu-common.h