summaryrefslogtreecommitdiffstats
path: root/include/block
diff options
context:
space:
mode:
authorPeter Lieven2016-05-30 13:31:13 +0200
committerStefan Hajnoczi2016-06-07 15:40:51 +0200
commit117bc3fa22d359db6c4f0c10f34c8c9e00ed64af (patch)
treedaebd01e11358993b50f6bef3406aab2461d2cd0 /include/block
parentiostatus: fix comments for block_job_iostatus_reset (diff)
downloadqemu-117bc3fa22d359db6c4f0c10f34c8c9e00ed64af.tar.gz
qemu-117bc3fa22d359db6c4f0c10f34c8c9e00ed64af.tar.xz
qemu-117bc3fa22d359db6c4f0c10f34c8c9e00ed64af.zip
block/io: optimize bdrv_co_pwritev for small requests
in a read-modify-write cycle a small request might cause head and tail to fall into the same aligned block. Currently QEMU reads the same block twice in this case which is not necessary. Signed-off-by: Peter Lieven <pl@kamp.de> Message-id: 1464607873-28206-1-git-send-email-pl@kamp.de Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/block')
0 files changed, 0 insertions, 0 deletions