commit | 1b0288ae7fc695a8e652973f75e92464bbc13416 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Mon Dec 02 16:09:46 2013 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Jan 24 17:40:02 2014 +0100 |
tree | ea5c8c95ed48aa5de2f967e13187b03779970804 | |
parent | d0c7f642f5eb2cb21d0c3acf766cb375eaaf4666 [diff] |
block: Introduce bdrv_co_do_preadv() Similar to bdrv_pread(), which aligns byte-aligned request to 512 byte sectors, bdrv_co_do_preadv() takes a byte-aligned request and aligns it to the alignment specified in bs->request_alignment. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Benoit Canet <benoit@irqsave.net>