[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 4/7] iotests: Test mirror with temporarily disabled target
From: |
Peter Krempa |
Subject: |
Re: [PATCH v2 4/7] iotests: Test mirror with temporarily disabled target backing file |
Date: |
Tue, 10 Mar 2020 14:25:36 +0100 |
User-agent: |
Mutt/1.13.3 (2020-01-12) |
On Tue, Mar 10, 2020 at 12:38:28 +0100, Kevin Wolf wrote:
> The newly tested scenario is a common live storage migration scenario:
> The target node is opened without a backing file so that the active
> layer is mirrored while its backing chain can be copied in the
> background.
>
> The backing chain should be attached to the mirror target node when
> finalising the job, just before switching the users of the source node
> to the new copy (at which point the mirror job still has a reference to
> the node). drive-mirror did this automatically, but with blockdev-mirror
> this is the job of the QMP client.
>
> This patch adds test cases for two ways to achieve the desired result,
> using either x-blockdev-reopen or blockdev-snapshot.
>
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
> tests/qemu-iotests/155 | 56 ++++++++++++++++++++++++++++++++++----
> tests/qemu-iotests/155.out | 4 +--
> 2 files changed, 53 insertions(+), 7 deletions(-)
Reviewed-by: Peter Krempa <address@hidden>
- [PATCH v2 1/7] block: Make bdrv_get_cumulative_perm() public, (continued)
- [PATCH v2 1/7] block: Make bdrv_get_cumulative_perm() public, Kevin Wolf, 2020/03/10
- [PATCH v2 2/7] block: Relax restrictions for blockdev-snapshot, Kevin Wolf, 2020/03/10
- [PATCH v2 3/7] iotests: Fix run_job() with use_log=False, Kevin Wolf, 2020/03/10
- [PATCH v2 5/7] block: Fix cross-AioContext blockdev-snapshot, Kevin Wolf, 2020/03/10
- [PATCH v2 4/7] iotests: Test mirror with temporarily disabled target backing file, Kevin Wolf, 2020/03/10
- Re: [PATCH v2 4/7] iotests: Test mirror with temporarily disabled target backing file,
Peter Krempa <=
- [PATCH v2 6/7] iotests: Add iothread cases to 155, Kevin Wolf, 2020/03/10
- [PATCH v2 7/7] qapi: Add '@allow-write-only-overlay' feature for 'blockdev-snapshot', Kevin Wolf, 2020/03/10
- Re: [PATCH v2 0/7] block: Relax restrictions for blockdev-snapshot, Kevin Wolf, 2020/03/10