summary refs log tree commit diff stats
path: root/net/netmap.c
diff options
context:
space:
mode:
authorPeter Lieven <pl@kamp.de>2013-11-27 11:07:06 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2013-12-05 11:45:24 +0100
commitf2521c9023067a007d18b844fe7639c1c5b6f2ac (patch)
tree2f6d65b07e187be7f6d789b16e5995056c7c4f3f /net/netmap.c
parent7572ddc8db114d8c437a97ca3eaedab397f66cda (diff)
downloadfocaccia-qemu-f2521c9023067a007d18b844fe7639c1c5b6f2ac.tar.gz
focaccia-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 'net/netmap.c')
0 files changed, 0 insertions, 0 deletions