block: fix the size change notification in bdrv_replace_child_bs()
Status from this message: Thanks, applied to the block branch.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | block: read the old child length after draining in bdrv_replace_child_bs()block.c | +3 | 0 replies | |
| 2/3 | block: add bdrv_child_notify_resize() to notify a single parentblock/ include/ | +20 | 0 replies | |
| 3/3 | block: notify only the replaced child in bdrv_replace_child_bs()block.c include/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] block: fix the size change notification in bdrv_replace_child_bs()
These address Kevin's review of the series which went in through Eric's block pull as 8b267376df87..28fafb3147f5:
https://lore.kernel.org/qemu-devel/[email protected]/
Tested with a local qtest, not included: with a second scsi-hd sharing the new node, master reports CAPACITY DATA HAS CHANGED to that device after qom-set on the first one, and with patch 3 it does not.
Denis V. Lunev (3):
block: read the old child length after draining in
bdrv_replace_child_bs()
block: add bdrv_child_notify_resize() to notify a single parent
block: notify only the replaced child in bdrv_replace_child_bs()
block.c | 7 ++++--- block/io.c | 14 +++++++++++--- include/block/block_int-io.h | 8 +++++++- 3 files changed, 22 insertions(+), 7 deletions(-)
base-commit: f71afb409a87c4ecd0f9d63a5963eb645dfab780
Signature · 1 line
2.53.0