aboutsummaryrefslogtreecommitdiff
path: root/block.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2018-10-31 11:30:42 +0100
committerKevin Wolf <kwolf@redhat.com>2018-12-14 11:54:49 +0100
commit0342567115feaf24bafcb25be903a9d732ac78ca (patch)
treeb0a5f8f470bf61961495426a9d81877528adff52 /block.c
parent2f3a7ab39bec4ba8022dc4d42ea641165b004e3e (diff)
downloadqemu-0342567115feaf24bafcb25be903a9d732ac78ca.zip
qemu-0342567115feaf24bafcb25be903a9d732ac78ca.tar.gz
qemu-0342567115feaf24bafcb25be903a9d732ac78ca.tar.bz2
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>
Diffstat (limited to 'block.c')
0 files changed, 0 insertions, 0 deletions