commit | d0c7f642f5eb2cb21d0c3acf766cb375eaaf4666 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Mon Dec 02 15:07:48 2013 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Jan 24 17:40:02 2014 +0100 |
tree | 6d1c1e621527d05d0a6c59ee1bc180f7dcb361a2 | |
parent | c25f53b06eba1575d5d0e92a0132455c97825b83 [diff] |
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>