Skip to content

block: buffer-based io

Vladimir Sementsov-Ogievskiy qemu-devel 1 version Applied

Status from this message: Thanks, applied to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/9block: introduce byte-based io helpersinclude/block/block_int.h include/sysemu/block-backend.h+35 -00 replies
2/9block/qcow2: use buffer-based ioblock/qcow2.c+2 -70 replies
3/9block/qcow: use buffer-based ioblock/qcow.c+6 -130 replies
4/9block/qed: use buffer-based ioblock/qed-table.c block/qed.c+7 -111 reply
5/9block/parallels: use buffer-based ioblock/parallels.c+6 -80 replies
6/9block/backup: use buffer-based ioblock/backup.c+6 -80 replies
7/9block/commit: use buffer-based ioblock/commit.c+2 -30 replies
8/9block/stream: use buffer-based ioblock/stream.c+1 -30 replies
9/9qemu-img: use buffer-based ioqemu-img.c+4 -90 replies

Reviews trailers per patch

None of the 9 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchStefan HajnocziStefano Garzarella
SeriesR-b R-b
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9

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/9] block: buffer-based io

Hi all!

We often need to do read/write with buffer, not qiov. Instead of creating qiov in such cases, let's introduce corresponding helpers.

Vladimir Sementsov-Ogievskiy (9):
block: introduce byte-based io helpers
block/qcow2: use buffer-based io
block/qcow: use buffer-based io
block/qed: use buffer-based io
block/parallels: use buffer-based io
block/backup: use buffer-based io
block/commit: use buffer-based io
block/stream: use buffer-based io
qemu-img: use buffer-based io

 include/block/block_int.h      | 16 ++++++++++++++++
 include/sysemu/block-backend.h | 19 +++++++++++++++++++
 block/backup.c                 | 14 ++++++--------
 block/commit.c                 |  5 ++---
 block/parallels.c              | 14 ++++++--------
 block/qcow.c                   | 19 ++++++-------------
 block/qcow2.c                  |  9 ++-------
 block/qed-table.c              | 12 +++++-------
 block/qed.c                    |  6 ++----
 block/stream.c                 |  4 +---
 qemu-img.c                     | 13 ++++---------
 11 files changed, 69 insertions(+), 62 deletions(-)
Signature · 1 line
2.18.0