summaryrefslogtreecommitdiff
path: root/device-hotplug.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2013-12-03 16:34:41 +0100
committerKevin Wolf <kwolf@redhat.com>2014-01-24 17:40:02 +0100
commit3b8242e0ea2a2c201ef3d1bd24080490dae33080 (patch)
tree64304edc8321e44ba9520304431e961ebf7fbdd7 /device-hotplug.c
parent6460440f34c709461b84375cfd8a86b27d433225 (diff)
downloadqemu-3b8242e0ea2a2c201ef3d1bd24080490dae33080.tar.gz
block: Align requests in bdrv_co_do_pwritev()
This patch changes bdrv_co_do_pwritev() to actually be what its name promises. If requests aren't properly aligned, it performs a RMW. Requests touching the same block are serialised against the RMW request. Further optimisation of this is possible by differentiating types of requests (concurrent reads should actually be okay here). Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Benoit Canet <benoit@irqsave.net>
Diffstat (limited to 'device-hotplug.c')
0 files changed, 0 insertions, 0 deletions