diff options
author | Kevin Wolf <kwolf@redhat.com> | 2013-12-02 16:09:46 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-01-24 17:40:02 +0100 |
commit | 1b0288ae7fc695a8e652973f75e92464bbc13416 (patch) | |
tree | ea5c8c95ed48aa5de2f967e13187b03779970804 /target-unicore32 | |
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>
Diffstat (limited to 'target-unicore32')
0 files changed, 0 insertions, 0 deletions