diff options
author | Peter Lieven <pl@kamp.de> | 2013-11-27 11:07:06 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-12-05 11:45:24 +0100 |
commit | f2521c9023067a007d18b844fe7639c1c5b6f2ac (patch) | |
tree | 2f6d65b07e187be7f6d789b16e5995056c7c4f3f /dump.c | |
parent | 7572ddc8db114d8c437a97ca3eaedab397f66cda (diff) |
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 'dump.c')
0 files changed, 0 insertions, 0 deletions