summary refs log tree commit diff stats
path: root/scripts/qapi/types.py
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
commit06dc9bd57182eb1a09cd0f7b1cb145937ed4e618 (patch)
tree064f0f9e438d0e605aa52be19a9dfe9f89fa5bfd /scripts/qapi/types.py
parent46ee0f462bfa1e374fa0f5df5834b061a632af6d (diff)
downloadfocaccia-qemu-06dc9bd57182eb1a09cd0f7b1cb145937ed4e618.tar.gz
focaccia-qemu-06dc9bd57182eb1a09cd0f7b1cb145937ed4e618.zip
file-posix: Avoid aio_worker() for QEMU_AIO_FLUSH
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 'scripts/qapi/types.py')
0 files changed, 0 insertions, 0 deletions