summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorKevin Wolf2018-10-25 15:18:58 +0200
committerKevin Wolf2018-12-14 11:52:41 +0100
commit29cb4c01e7b38589fa4fe3f9ea82f69dc2df3051 (patch)
treefdd8f38e0215ebeb49ce3620a88f50ed3d34d45d /scripts/switch-timer-api
parentfile-posix: Factor out raw_thread_pool_submit() (diff)
downloadqemu-29cb4c01e7b38589fa4fe3f9ea82f69dc2df3051.tar.gz
qemu-29cb4c01e7b38589fa4fe3f9ea82f69dc2df3051.tar.xz
qemu-29cb4c01e7b38589fa4fe3f9ea82f69dc2df3051.zip
file-posix: Avoid aio_worker() for QEMU_AIO_TRUNCATE
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/switch-timer-api')
0 files changed, 0 insertions, 0 deletions