Searched hist:"58 a209c4" (Results 1 – 1 of 1) sorted by relevance
/qemu/block/ |
H A D | file-posix.c | diff 58a209c4 Thu Oct 25 13:18:58 GMT 2018 Kevin Wolf <kwolf@redhat.com> file-posix: Avoid aio_worker() for QEMU_AIO_COPY_RANGE
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>
|