summary refs log tree commit diff stats
path: root/hw/scsi-generic.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2010-09-13 18:24:10 +0200
committerKevin Wolf <kwolf@redhat.com>2010-09-21 15:39:43 +0200
commit6f5f060b736cedc2d962114d20805fdd2889513a (patch)
tree8589b132acaa662598a1954c4cc5461ed6b204f2 /hw/scsi-generic.c
parentbd28f835652e396841bb73080a07bcc08fe21bf0 (diff)
downloadfocaccia-qemu-6f5f060b736cedc2d962114d20805fdd2889513a.tar.gz
focaccia-qemu-6f5f060b736cedc2d962114d20805fdd2889513a.zip
qcow2: Avoid bounce buffers for AIO write requests
qcow2 used to use bounce buffers for any AIO requests. This does not only imply
unnecessary copying, but also unbounded allocations which should be avoided.

This patch removes bounce buffers from the normal AIO write path. Encrypted
images continue to use a bounce buffer, however with constant size.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/scsi-generic.c')
0 files changed, 0 insertions, 0 deletions