Skip to content

RFC block: qiov_offset parameter for io

Vladimir Sementsov-Ogievskiy qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3block/io: introduce bdrv_co_preadv_partblock/io.c include/block/block_int.h+64 -290 replies
2/3block/qcow2: refactor qcow2_co_preadv to use buffer-based ioblock/qcow2.c+16 -120 replies
3/3block/qcow2: implement .bdrv_co_preadv_partblock/qcow2.c+20 -250 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [RFC PATCH 0/3] block: qiov_offset parameter for io

Hi all!

Here is idea of adding qiov_offset parameter to io path, to avoid a lot of places with same pattern of creating local_qiov or hd_qiov variables. Here is only read path for qcow2, if we like it, I'll make v2 with both read and write paths for qcow2.

Vladimir Sementsov-Ogievskiy (3):
block/io: introduce bdrv_co_preadv_part block/qcow2: refactor qcow2_co_preadv to use buffer-based io block/qcow2: implement .bdrv_co_preadv_part

 include/block/block_int.h |  6 +++
 block/io.c                | 87 ++++++++++++++++++++++++++-------------
 block/qcow2.c             | 67 +++++++++++++++---------------
 3 files changed, 97 insertions(+), 63 deletions(-)
Signature · 1 line
2.18.0