Searched hist:03425671 (Results 1 – 1 of 1) sorted by relevance
/qemu/block/ |
H A D | file-posix.c | diff 03425671 Wed Oct 31 10:30:42 GMT 2018 Kevin Wolf <kwolf@redhat.com> file-posix: Avoid aio_worker() for QEMU_AIO_IOCTL
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.
This was the last user of aio_worker(), so the function goes away now.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|