aboutsummaryrefslogtreecommitdiff
path: root/libdecnumber
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-10-05 18:35:27 +0200
committerMax Reitz <mreitz@redhat.com>2016-10-24 17:56:06 +0200
commit1ba7e159787d7c96a8783584395b670c22bba4ef (patch)
tree76eb5d5528dad942dbae0dbcc66e4a60e1604091 /libdecnumber
parent86ec252c198a62b3a1da3ac62277adf917d985cf (diff)
downloadqemu-1ba7e159787d7c96a8783584395b670c22bba4ef.zip
qemu-1ba7e159787d7c96a8783584395b670c22bba4ef.tar.gz
qemu-1ba7e159787d7c96a8783584395b670c22bba4ef.tar.bz2
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 'libdecnumber')
0 files changed, 0 insertions, 0 deletions