aboutsummaryrefslogtreecommitdiff
path: root/replication.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2018-10-25 14:18:58 +0100
committerKevin Wolf <kwolf@redhat.com>2018-12-14 11:52:41 +0100
commit999e6b69ce5adc0c68cdd90211569f61f006858b (patch)
treeafbd0c14547444ba9ba1f09378bb97bd941f6ffb /replication.c
parent54c7ca1b8135e728b70320418d6424ad78cc4629 (diff)
downloadqemu-999e6b69ce5adc0c68cdd90211569f61f006858b.zip
qemu-999e6b69ce5adc0c68cdd90211569f61f006858b.tar.gz
qemu-999e6b69ce5adc0c68cdd90211569f61f006858b.tar.bz2
file-posix: Avoid aio_worker() for QEMU_AIO_READ/WRITE
aio_worker() doesn't add anything interesting, it's only a useless indirection. Call the handler function directly instead. As we know that this handler function is only called from coroutine context and the coroutine stays around until the worker thread finishes, we can keep RawPosixAIOData on the stack. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'replication.c')
0 files changed, 0 insertions, 0 deletions