Skip to content

block: clean up coroutine versions of bdrv_{is_allocated, block_status}*

Paolo Bonzini qemu-devel 3 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 2 repliesApplied
  2. v24 patches 2 repliesSuperseded
  3. v14 patches 5 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4block: rename the bdrv_co_block_status static functionblock/io.c+11 -100 replies
2/4block: complete public block status APIblock/io.c include/block/block-io.h+16 -190 replies
3/4block: switch to co_wrapper for bdrv_is_allocated_*block/io.c include/block/block-io.h+14 -510 replies
4/4block: convert more bdrv_is_allocated* and bdrv_block_status* calls to coroutine versionsblock/copy-before-write.c block/copy-on-read.c block/io.c +5 more+33 -320 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchEric Blake
1/4
2/4R-b
3/4R-b
4/4R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/4] block: clean up coroutine versions of bdrv_{is_allocated, block_status}*

Provide coroutine versions of bdrv_is_allocated* and bdrv_block_status*, since the underlying BlockDriver API is coroutine-based, and use automatically-generated wrappers for the "mixed" versions.

v2->v3: cleaned up formatting

Paolo Bonzini (4):
block: rename the bdrv_co_block_status static function
block: complete public block status API
block: switch to co_wrapper for bdrv_is_allocated_*
block: convert more bdrv_is_allocated* and bdrv_block_status* calls to
coroutine versions

 block/copy-before-write.c |  2 +-
 block/copy-on-read.c      |  8 ++--
 block/io.c                | 98 +++++++++++----------------------------
 block/mirror.c            | 10 ++--
 block/qcow2.c             |  5 +-
 block/replication.c       |  8 ++--
 block/stream.c            |  8 ++--
 block/vvfat.c             | 18 +++----
 include/block/block-io.h  | 29 +++++++-----
 9 files changed, 74 insertions(+), 112 deletions(-)
Signature · 1 line
2.41.0