• K
    file-posix: Avoid aio_worker() for QEMU_AIO_READ/WRITE · 999e6b69
    Kevin Wolf 提交于
    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: NKevin Wolf <kwolf@redhat.com>
    999e6b69
file-posix.c 100.8 KB