[Qemu-devel] [PATCH 0/8] block: more byte-based cleanups: vectored I/O

Eric Blake posted 8 patches 7 years, 5 months ago
Only 0 patches received!
There is a newer version of this series
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(-)
[Qemu-devel] [PATCH 0/8] block: more byte-based cleanups: vectored I/O
Posted by Eric Blake 7 years, 5 months ago
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(-)

-- 
2.14.3


Re: [Qemu-devel] [PATCH 0/8] block: more byte-based cleanups: vectored I/O
Posted by Eric Blake 7 years, 5 months ago
On 04/25/2018 01:19 PM, Eric Blake wrote:
> 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


-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org