summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorKevin Wolf2018-10-25 15:18:58 +0200
committerKevin Wolf2018-12-14 11:52:41 +0100
commit7154d8ae66c75c97b08c8f1c80dd6f46f0dbffca (patch)
treede94d3931f9fcdc50e73686fb90343c735ff47d8 /scripts
parentfile-posix: Avoid aio_worker() for QEMU_AIO_COPY_RANGE (diff)
downloadqemu-7154d8ae66c75c97b08c8f1c80dd6f46f0dbffca.tar.gz
qemu-7154d8ae66c75c97b08c8f1c80dd6f46f0dbffca.tar.xz
qemu-7154d8ae66c75c97b08c8f1c80dd6f46f0dbffca.zip
file-posix: Avoid aio_worker() for QEMU_AIO_WRITE_ZEROES
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')
0 files changed, 0 insertions, 0 deletions