qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 6/8] iotests/{024, 271}: add testcases for qemu-img rebase


From: Hanna Czenczek
Subject: Re: [PATCH v2 6/8] iotests/{024, 271}: add testcases for qemu-img rebase
Date: Tue, 19 Sep 2023 13:08:37 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 15.09.23 18:20, Andrey Drobyshev wrote:
As the previous commit changes the logic of "qemu-img rebase" (it's using
write alignment now), let's add a couple more test cases which would
ensure it works correctly.  In particular, the following scenarios:

024: add test case for rebase within one backing chain when the overlay
      cluster size > backings cluster size;
271: add test case for rebase images that contain subclusters.  Check
      that no extra allocations are being made.

Signed-off-by: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>
---
  tests/qemu-iotests/024     | 60 ++++++++++++++++++++++++++++++++++
  tests/qemu-iotests/024.out | 43 +++++++++++++++++++++++++
  tests/qemu-iotests/271     | 66 ++++++++++++++++++++++++++++++++++++++
  tests/qemu-iotests/271.out | 42 ++++++++++++++++++++++++
  4 files changed, 211 insertions(+)

Interestingly, the new case in 024 hangs before this series.  So it isn’t just an optimization, but a fix, actually!

Reviewed-by: Hanna Czenczek <hreitz@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]