aboutsummaryrefslogtreecommitdiff
path: root/tests/test-qobject-output-visitor.c
diff options
context:
space:
mode:
authorAlberto Garcia <berto@igalia.com>2017-06-19 16:40:06 +0300
committerKevin Wolf <kwolf@redhat.com>2017-06-26 14:51:13 +0200
commitb3cf1c7cf8714af96def49668a267fa4075242ca (patch)
tree786ca93bbde6ffe9802f723c68faf69faae93828 /tests/test-qobject-output-visitor.c
parent672f0f2c4b5ee521f5ea06eadaacf8dfa99474f4 (diff)
downloadqemu-b3cf1c7cf8714af96def49668a267fa4075242ca.zip
qemu-b3cf1c7cf8714af96def49668a267fa4075242ca.tar.gz
qemu-b3cf1c7cf8714af96def49668a267fa4075242ca.tar.bz2
qcow2: Allow reading both COW regions with only one request
Reading both COW regions requires two separate requests, but it's perfectly possible to merge them and perform only one. This generally improves performance, particularly on rotating disk drives. The downside is that the data in the middle region is read but discarded. This patch takes a conservative approach and only merges reads when the size of the middle region is <= 16KB. Signed-off-by: Alberto Garcia <berto@igalia.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/test-qobject-output-visitor.c')
0 files changed, 0 insertions, 0 deletions