commit | 244483e64ee726cc89a1e05bed2be0ed37071403 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Thu Jun 02 11:41:52 2016 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu Jun 16 15:19:55 2016 +0200 |
tree | a8b9eb61f5d4f2bcfb50f2ff3ee5af97c5d28307 | |
parent | 8c0dcbc4ad2bf4f9f3b27c637b357e87cad70ec7 [diff] |
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>