• K
    qcow2: Avoid bounce buffers for AIO write requests · 6f5f060b
    Kevin Wolf 提交于
    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: NKevin Wolf <kwolf@redhat.com>
    6f5f060b
qcow2.c 41.1 KB