commit | bd28f835652e396841bb73080a07bcc08fe21bf0 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Mon Sep 13 18:08:52 2010 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Tue Sep 21 15:39:42 2010 +0200 |
tree | 7f8b026a2beb604f1f6b7f47c90b13b734df4f44 | |
parent | b8a83a4f79ca4cd0689117b119ffaa1a91b00d52 [diff] |
qcow2: Avoid bounce buffers for AIO read 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 read path, and constrains them to a constant size for encrypted images. Signed-off-by: Kevin Wolf <kwolf@redhat.com>