summaryrefslogtreecommitdiffstats
path: root/scripts/modules
diff options
context:
space:
mode:
authorPaolo Bonzini2016-10-05 18:35:27 +0200
committerMax Reitz2016-10-24 17:56:06 +0200
commit1ba7e159787d7c96a8783584395b670c22bba4ef (patch)
tree76eb5d5528dad942dbae0dbcc66e4a60e1604091 /scripts/modules
parentquorum: change child_iter to children_read (diff)
downloadqemu-1ba7e159787d7c96a8783584395b670c22bba4ef.tar.gz
qemu-1ba7e159787d7c96a8783584395b670c22bba4ef.tar.xz
qemu-1ba7e159787d7c96a8783584395b670c22bba4ef.zip
quorum: do not allocate multiple iovecs for FIFO strategy
In FIFO mode there are no parallel reads, hence there is no need to allocate separate buffers and clone the iovecs. The two cases of quorum_aio_cb are now even more different, and most of quorum_aio_finalize is only needed in one of them, so split them in separate functions. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1475685327-22767-3-git-send-email-pbonzini@redhat.com Reviewed-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Alberto Garcia <berto@igalia.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'scripts/modules')
0 files changed, 0 insertions, 0 deletions