OSDN Git Service

block: Introduce bdrv_preadv()
authorKevin Wolf <kwolf@redhat.com>
Thu, 9 Jun 2016 14:36:00 +0000 (16:36 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 16 Jun 2016 13:19:55 +0000 (15:19 +0200)
commitf1e8474115d6be7eda14092050ffa2b031afb729
tree7b400c277f4c9369c712b0c9ab82010bc8295e7c
parent48bea965724fafd51b395f4c0b5a0c173de46c2b
block: Introduce bdrv_preadv()

We already have a byte-based bdrv_pwritev(), but the read counterpart
was still missing. This commit adds it.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
block/io.c
include/block/block.h