diff options
author | Kevin Wolf <kwolf@redhat.com> | 2018-10-31 09:43:17 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-12-14 11:52:41 +0100 |
commit | 54c7ca1b8135e728b70320418d6424ad78cc4629 (patch) | |
tree | 62cbf55264ee341986f2bba6d9a62de738566f21 /target | |
parent | 06dc9bd57182eb1a09cd0f7b1cb145937ed4e618 (diff) | |
download | qemu-54c7ca1b8135e728b70320418d6424ad78cc4629.zip qemu-54c7ca1b8135e728b70320418d6424ad78cc4629.tar.gz qemu-54c7ca1b8135e728b70320418d6424ad78cc4629.tar.bz2 |
file-posix: Move read/write operation logic out of aio_worker()
aio_worker() for reads and writes isn't boring enough yet. It still does
some postprocessing for handling short reads and turning the result into
the right return value.
However, there is no reason why handle_aiocb_rw() couldn't do the same,
and even without duplicating code between the read and write path. So
move the code there.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions