]> git.proxmox.com Git - mirror_qemu.git/commit
block: Introduce bdrv_aligned_preadv()
authorKevin Wolf <kwolf@redhat.com>
Mon, 2 Dec 2013 14:07:48 +0000 (15:07 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 24 Jan 2014 16:40:02 +0000 (17:40 +0100)
commitd0c7f642f5eb2cb21d0c3acf766cb375eaaf4666
tree6d1c1e621527d05d0a6c59ee1bc180f7dcb361a2
parentc25f53b06eba1575d5d0e92a0132455c97825b83
block: Introduce bdrv_aligned_preadv()

This separates the part of bdrv_co_do_readv() 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: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
block.c