block: more byte-based cleanups: vectored I/O
cover block: more byte-based cleanups: vectored I/O
In my continuing quest to nuke pointless sector-based interfaces, here's another round of cleanups. I spent some time on qcow, then was appalled at how long iotests took to prove that it did not regress; so for parallels, replication, and vhdx, I'll leave any further cleanups within those files to interested owners.
There are now very few remaining calls into bdrv_{read,write}, so that will be my next cleanup.
Eric Blake (8):
parallels: Switch to byte-based calls
qcow: Switch get_cluster_offset to be byte-based
qcow: Switch qcow_co_readv to byte-based calls
qcow: Switch qcow_co_writev to byte-based calls
qcow: Switch to a byte-based driver
replication: Switch to byte-based calls
vhdx: Switch to byte-based calls
block: Removed unused sector-based vectored I/O
include/block/block.h | 4 -- block/io.c | 36 --------------- block/parallels.c | 16 ++++--- block/qcow.c | 122 +++++++++++++++++++++++++------------------------- block/replication.c | 14 +++--- block/vhdx.c | 12 ++--- 6 files changed, 86 insertions(+), 118 deletions(-)
Signature · 1 line
2.14.3
Quoted 8 lines · Eric Blake
In my continuing quest to nuke pointless sector-based interfaces, here's another round of cleanups. I spent some time on qcow, then was appalled at how long iotests took to prove that it did not regress; so for parallels, replication, and vhdx, I'll leave any further cleanups within those files to interested owners.
There are now very few remaining calls into bdrv_{read,write}, so that will be my next cleanup.
Ignore this one; I sent a cover letter prematurely, before I added Based-on tags for the real series:
https://lists.gnu.org/archive/html/qemu-devel/2018-04/msg04444.html
Signature · 3 lines
Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org