]> git.proxmox.com Git - mirror_qemu.git/commit
block: Introduce bdrv_aligned_pwritev()
authorKevin Wolf <kwolf@redhat.com>
Tue, 3 Dec 2013 13:02:23 +0000 (14:02 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 24 Jan 2014 16:40:02 +0000 (17:40 +0100)
commitb404f72036716ab8ace04b83a8f0a93be4739a6a
treef35f8d249ce14e6de4007af83aeb787a1c389673
parent1b0288ae7fc695a8e652973f75e92464bbc13416
block: Introduce bdrv_aligned_pwritev()

This separates the part of bdrv_co_do_writev() that needs to happen
before the request is modified to match the backend alignment, and a
part that needs to be executed afterwards and passes the request to the
BlockDriver.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
block.c