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
commit46ee0f462bfa1e374fa0f5df5834b061a632af6d (patch)
tree58e12510cde3e1cc1aeaac9f8823c3c814dbc833 /scripts/switch-timer-api
parentfile-posix: Avoid aio_worker() for QEMU_AIO_WRITE_ZEROES (diff)
downloadqemu-46ee0f462bfa1e374fa0f5df5834b061a632af6d.tar.gz
qemu-46ee0f462bfa1e374fa0f5df5834b061a632af6d.tar.xz
qemu-46ee0f462bfa1e374fa0f5df5834b061a632af6d.zip
file-posix: Avoid aio_worker() for QEMU_AIO_DISCARD
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