Skip to content

(mostly) block: add more coroutine_fn annotations, use bdrv/blk_co_*

Paolo Bonzini qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9vvfat: mark various functions as coroutine_fnblock/vvfat.c+30 -280 replies
2/9blkdebug: add missing coroutine_fn annotationblock/blkdebug.c+2 -20 replies
3/9mirror: make mirror_flush a coroutine_fn, do not use co_wrappersblock/mirror.c+2 -20 replies
4/9nbd: mark more coroutine_fns, do not use co_wrappersnbd/server.c+24 -241 reply
5/99pfs: mark more coroutine_fnshw/9pfs/9p.h hw/9pfs/codir.c+5 -51 reply
6/9qemu-pr-helper: mark more coroutine_fnsscsi/qemu-pr-helper.c+11 -110 replies
7/9tests: mark more coroutine_fnstests/unit/test-thread-pool.c+1 -10 replies
8/9qcow2: mark various functions as coroutine_fn and GRAPH_RDLOCKblock/qcow2-bitmap.c block/qcow2-cluster.c block/qcow2-refcount.c +3 more+51 -450 replies
9/9vmdk: make vmdk_is_cid_valid a coroutine_fnblock/vmdk.c+1 -10 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchChristian Schoenebeck
1/9
2/9
3/9
4/9
5/9R-b
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 [PATCH 0/9] (mostly) block: add more coroutine_fn annotations, use bdrv/blk_co_*

"Mostly" because there is a 9pfs patch in here too.

The series was developed with the help of vrc and the clang TSA annotations.

Paolo

Paolo Bonzini (9):
vvfat: mark various functions as coroutine_fn
blkdebug: add missing coroutine_fn annotation
mirror: make mirror_flush a coroutine_fn
nbd: mark more coroutine_fns
9pfs: mark more coroutine_fns
qemu-pr-helper: mark more coroutine_fns
tests: mark more coroutine_fns
qcow2: mark various functions as coroutine_fn and GRAPH_RDLOCK
vmdk: make vmdk_is_cid_valid a coroutine_fn

 block/blkdebug.c              |  4 +--
 block/mirror.c                |  4 +--
 block/qcow2-bitmap.c          |  2 +-
 block/qcow2-cluster.c         | 20 +++++++-----
 block/qcow2-refcount.c        |  8 ++---
 block/qcow2-snapshot.c        | 25 +++++++--------
 block/qcow2.c                 | 26 ++++++++--------
 block/qcow2.h                 | 15 ++++-----
 block/vmdk.c                  |  2 +-
 block/vvfat.c                 | 58 ++++++++++++++++++-----------------
 hw/9pfs/9p.h                  |  4 +--
 hw/9pfs/codir.c               |  6 ++--
 nbd/server.c                  | 48 ++++++++++++++---------------
 scsi/qemu-pr-helper.c         | 22 ++++++-------
 tests/unit/test-thread-pool.c |  2 +-
 15 files changed, 127 insertions(+), 119 deletions(-)
Signature · 1 line
2.39.2