diff options
| author | Peter Lieven | 2013-11-27 11:07:06 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2013-12-05 11:45:24 +0100 |
| commit | f2521c9023067a007d18b844fe7639c1c5b6f2ac (patch) | |
| tree | 2f6d65b07e187be7f6d789b16e5995056c7c4f3f /include/exec | |
| parent | block/iscsi: set bs->bl.opt_transfer_length (diff) | |
| download | qemu-f2521c9023067a007d18b844fe7639c1c5b6f2ac.tar.gz qemu-f2521c9023067a007d18b844fe7639c1c5b6f2ac.tar.xz qemu-f2521c9023067a007d18b844fe7639c1c5b6f2ac.zip | |
qemu-img: dynamically adjust iobuffer size during convert
since the convert process is basically a sync operation it might
be benificial in some case to change the hardcoded I/O buffer
size to a greater value.
This patch increases the I/O buffer size if the output
driver advertises an optimal transfer length or discard alignment
that is greater than the default buffer size of 2M.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
