mbox series

[v3,0/8] block: more byte-based cleanups: vectored I/O

Message ID 20180628201525.281787-1-eblake@redhat.com
Headers show
Series block: more byte-based cleanups: vectored I/O | expand

Message

Eric Blake June 28, 2018, 8:15 p.m. UTC
My quest continues.  I spent some time pruning sector-based usage
out of qcow as far as possible (and was dismayed at how long it
took to prove no iotests regressions); so for the other drivers, I
did the bare minimum to get rid of an interface, but will leave it
to those file owners if they want to get rid of further pointless
sector manipulations in their files.

v2 was here:
https://lists.gnu.org/archive/html/qemu-devel/2018-05/msg07265.html

v3:
- add R-b, no other changes needed

001/8:[----] [--] 'parallels: Switch to byte-based calls'
002/8:[----] [--] 'qcow: Switch get_cluster_offset to be byte-based'
003/8:[----] [--] 'qcow: Switch qcow_co_readv to byte-based calls'
004/8:[----] [--] 'qcow: Switch qcow_co_writev to byte-based calls'
005/8:[----] [--] 'qcow: Switch to a byte-based driver'
006/8:[----] [--] 'replication: Switch to byte-based calls'
007/8:[----] [--] 'vhdx: Switch to byte-based calls'
008/8:[----] [--] 'block: Remove unused sector-based vectored I/O'

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: Remove unused sector-based vectored I/O

 include/block/block.h |   4 --
 block/io.c            |  36 --------------
 block/parallels.c     |  16 ++++---
 block/qcow.c          | 130 +++++++++++++++++++++++++-------------------------
 block/replication.c   |  14 +++---
 block/vhdx.c          |  12 ++---
 6 files changed, 90 insertions(+), 122 deletions(-)

Comments

Kevin Wolf June 29, 2018, 8:09 a.m. UTC | #1
Am 28.06.2018 um 22:15 hat Eric Blake geschrieben:
> My quest continues.  I spent some time pruning sector-based usage
> out of qcow as far as possible (and was dismayed at how long it
> took to prove no iotests regressions); so for the other drivers, I
> did the bare minimum to get rid of an interface, but will leave it
> to those file owners if they want to get rid of further pointless
> sector manipulations in their files.

Thanks, applied to the block branch.

Kevin