diff options
author | Kevin Wolf <kwolf@redhat.com> | 2013-12-03 16:34:41 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-01-24 17:40:02 +0100 |
commit | 3b8242e0ea2a2c201ef3d1bd24080490dae33080 (patch) | |
tree | 64304edc8321e44ba9520304431e961ebf7fbdd7 /migration-rdma.c | |
parent | 6460440f34c709461b84375cfd8a86b27d433225 (diff) |
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 'migration-rdma.c')
0 files changed, 0 insertions, 0 deletions