Skip to content

throttle-groups: fix restart coroutine iothread race

Stefan Hajnoczi qemu-devel 2 versions – Applied

Status from this message: Thanks, applied to my block tree:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesApplied
  2. v11 patch 14 repliesSuperseded

Changes in v2 from the cover letter

* Added qemu-iotests test case [Kevin, Alberto]
* Use atomic operations instead of AioContext lock [Paolo]

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2throttle-groups: fix restart coroutine iothread raceblock/throttle-groups.c include/block/throttle-groups.h+14 -01 reply
2/2iotests: add 238 for throttling tgm unregister iothread segfaulttests/qemu-iotests/238 tests/qemu-iotests/238.out tests/qemu-iotests/group+54 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAlberto Garcia
1/2R-b
2/2R-b

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

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/2] throttle-groups: fix restart coroutine iothread race

v2:
* Added qemu-iotests test case [Kevin, Alberto]
* Use atomic operations instead of AioContext lock [Paolo]

This patch series fixes a segfault upon device_del when virtio-scsi is used with iothreads.

Stefan Hajnoczi (2):
throttle-groups: fix restart coroutine iothread race
iotests: add 238 for throttling tgm unregister iothread segfault

 include/block/throttle-groups.h |  5 ++++
 block/throttle-groups.c         |  9 +++++++
 tests/qemu-iotests/238          | 47 +++++++++++++++++++++++++++++++++
 tests/qemu-iotests/238.out      |  6 +++++
 tests/qemu-iotests/group        |  1 +
 5 files changed, 68 insertions(+)
 create mode 100755 tests/qemu-iotests/238
 create mode 100644 tests/qemu-iotests/238.out
Signature · 1 line
2.20.1