block: Byte-based bdrv_co_do_copy_on_readv()
commit244483e64ee726cc89a1e05bed2be0ed37071403
authorKevin Wolf <kwolf@redhat.com>
Thu, 2 Jun 2016 09:41:52 +0000 (2 11:41 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 16 Jun 2016 13:19:55 +0000 (16 15:19 +0200)
treea8b9eb61f5d4f2bcfb50f2ff3ee5af97c5d28307
parent8c0dcbc4ad2bf4f9f3b27c637b357e87cad70ec7
block: Byte-based bdrv_co_do_copy_on_readv()

In a first step to convert the common I/O path to work on bytes rather
than sectors, this converts the copy-on-read logic that is used by
bdrv_aligned_preadv().

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