Fix throttling crashes in BlockBackend with no BlockDriverState
Status from this message: Thanks, applied to my block tree:
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | block: Check for inserted BlockDriverState in blk_io_limits_disable()block/ | +10 | 1 reply | |
| 2/3 | block: Leave valid throttle timers when removing a BDS from a backendblock/ | +8 | 4 replies | |
| 3/3 | qemu-iotests: Test I/O limits with removable mediatests/ tests/ | +64 | 5 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Max Reitz |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/3] Fix throttling crashes in BlockBackend with no BlockDriverState
Hi,
this series fixes the problems reported by Sochin Jiang in BlockBackend when there's a valid throttling configuration but the BDS has been removed.
The patches apply on top of Li Zhengui's "all I/O should be completed before removing throttle timers" and I tested this on top of Stefan's block branch (commit 900276cf24589596296d3d099fe609ad5c182ac9).
Regards,
Berto
Alberto Garcia (3):
block: Check for inserted BlockDriverState in blk_io_limits_disable()
block: Leave valid throttle timers when removing a BDS from a backend
qemu-iotests: Test I/O limits with removable media
block/block-backend.c | 30 +++++++++++++--------- tests/qemu-iotests/093 | 62 ++++++++++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/093.out | 4 +-- 3 files changed, 82 insertions(+), 14 deletions(-)
Signature · 1 line
2.11.0