[PATCH v2 0/3] blockdev: mirror: do not require a root block node

Fiona Ebner posted 3 patches 1 month, 2 weeks ago
Failed in applying to current master (apply log)
blockdev.c                 |  20 +++++-
qapi/block-core.json       |   4 +-
tests/qemu-iotests/041     | 128 +++++++++++++++++++++++++++++++++++++
tests/qemu-iotests/041.out |   4 +-
4 files changed, 149 insertions(+), 7 deletions(-)
[PATCH v2 0/3] blockdev: mirror: do not require a root block node
Posted by Fiona Ebner 1 month, 2 weeks ago
Changes in v2:
* Drop two accidentally included semicolons in test.
* Update QAPI description.

The mirror block job currently only operates on a root block node. It
might be desired to use a throttle node as the root node for limiting
the guest IO, without also limiting mirror operations.

There is no obvious reason why mirror should only be able to operate
on a root block node.

For a related discussion see here:
https://lore.kernel.org/qemu-devel/9f516c2f-7dd3-446a-8495-56adac267cfe@proxmox.com/

Fiona Ebner (3):
  iotests/041: add test for mirror with throttle node as source
  blockdev: mirror: do not require a root block node
  iotests/041: add tests for mirroring below throttle node

 blockdev.c                 |  20 +++++-
 qapi/block-core.json       |   4 +-
 tests/qemu-iotests/041     | 128 +++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/041.out |   4 +-
 4 files changed, 149 insertions(+), 7 deletions(-)

-- 
2.47.3
Re: [PATCH v2 0/3] blockdev: mirror: do not require a root block node
Posted by Kevin Wolf 3 weeks, 2 days ago
Am 06.10.2026 um 13:42 hat Fiona Ebner geschrieben:
> Changes in v2:
> * Drop two accidentally included semicolons in test.
> * Update QAPI description.
> 
> The mirror block job currently only operates on a root block node. It
> might be desired to use a throttle node as the root node for limiting
> the guest IO, without also limiting mirror operations.
> 
> There is no obvious reason why mirror should only be able to operate
> on a root block node.
> 
> For a related discussion see here:
> https://lore.kernel.org/qemu-devel/9f516c2f-7dd3-446a-8495-56adac267cfe@proxmox.com/

Thanks, applied to the block branch.

Kevin