diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-10-05 18:35:27 +0200 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2016-10-24 17:56:06 +0200 |
commit | 1ba7e159787d7c96a8783584395b670c22bba4ef (patch) | |
tree | 76eb5d5528dad942dbae0dbcc66e4a60e1604091 /block/blkdebug.c | |
parent | 86ec252c198a62b3a1da3ac62277adf917d985cf (diff) |
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 'block/blkdebug.c')
0 files changed, 0 insertions, 0 deletions