Skip to content

block: more byte-based cleanups: vectored I/O

Eric Blake qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8parallels: Switch to byte-based callsblock/parallels.c+10 -65 replies
2/8qcow: Switch get_cluster_offset to be byte-basedblock/qcow.c+14 -143 replies
3/8qcow: Switch qcow_co_readv to byte-based callsblock/qcow.c+19 -202 replies
4/8qcow: Switch qcow_co_writev to byte-based callsblock/qcow.c+16 -181 reply
5/8qcow: Switch to a byte-based driverblock/qcow.c+20 -150 replies
6/8replication: Switch to byte-based callsblock/replication.c+8 -60 replies
7/8vhdx: Switch to byte-based callsblock/vhdx.c+6 -60 replies
8/8block: Removed unused sector-based vectored I/Oblock/io.c include/block/block.h+0 -401 reply

Reviews trailers per patch

2 of 8 patches have a Reviewed-by or Acked-by.

PatchStefan HajnocziDenis V. Lunev
1/8R-b R-b
2/8
3/8
4/8
5/8
6/8
7/8
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

Based-on: <[email protected]> ([PATCH v2 0/6] block: byte-based AIO read/write)
Based-on: <[email protected]> ([PATCH] block: Merge .bdrv_co_writev{, _flags} in drivers)

My quest continues. I spent some time pruning qcow down 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.

Next on the chopping block: bdrv_read/bdrv_write.

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