commit | b404f72036716ab8ace04b83a8f0a93be4739a6a | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Tue Dec 03 14:02:23 2013 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Jan 24 17:40:02 2014 +0100 |
tree | f35f8d249ce14e6de4007af83aeb787a1c389673 | |
parent | 1b0288ae7fc695a8e652973f75e92464bbc13416 [diff] |
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>