From: Hanna Czenczek <hreitz@redhat.com>
To: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>, qemu-block@nongnu.org
Cc: qemu-devel@nongnu.org, kwolf@redhat.com, eblake@redhat.com,
den@virtuozzo.com
Subject: Re: [PATCH v2 8/8] iotests: add tests for "qemu-img rebase" with compression
Date: Tue, 19 Sep 2023 13:14:01 +0200 [thread overview]
Message-ID: <0e0923bd-01f0-e19a-c183-e6b7951fe550@redhat.com> (raw)
In-Reply-To: <20230915162016.141771-9-andrey.drobyshev@virtuozzo.com>
On 15.09.23 18:20, Andrey Drobyshev wrote:
> The test cases considered so far:
>
> 314 (new test suite):
>
> 1. Check that compression mode isn't compatible with "-f raw" (raw
> format doesn't support compression).
> 2. Check that rebasing an image onto no backing file preserves the data
> and writes the copied clusters actually compressed.
> 3. Same as 2, but with a raw backing file (i.e. the clusters copied from the
> backing are originally uncompressed -- we check they end up compressed
> after being merged).
> 4. Remove a single delta from a backing chain, perform the same checks
> as in 2.
> 5. Check that even when backing and overlay are initially uncompressed,
> copied clusters end up compressed when rebase with compression is
> performed.
>
> 271:
>
> 1. Check that when target image has subclusters, rebase with compression
> will make an entire cluster containing the written subcluster
> compressed.
>
> Signed-off-by: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>
> ---
> tests/qemu-iotests/271 | 65 +++++++++++++++
> tests/qemu-iotests/271.out | 40 +++++++++
> tests/qemu-iotests/314 | 165 +++++++++++++++++++++++++++++++++++++
> tests/qemu-iotests/314.out | 75 +++++++++++++++++
> 4 files changed, 345 insertions(+)
> create mode 100755 tests/qemu-iotests/314
> create mode 100644 tests/qemu-iotests/314.out
Reviewed-by: Hanna Czenczek <hreitz@redhat.com>
prev parent reply other threads:[~2023-09-19 11:14 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-15 16:20 [PATCH v2 0/8] qemu-img: rebase: add compression support Andrey Drobyshev via
2023-09-15 16:20 ` [PATCH v2 1/8] qemu-img: rebase: stop when reaching EOF of old backing file Andrey Drobyshev via
2023-09-15 16:20 ` [PATCH v2 2/8] qemu-iotests: 024: add rebasing test case for overlay_size > backing_size Andrey Drobyshev via
2023-09-15 16:20 ` [PATCH v2 3/8] qemu-img: rebase: use backing files' BlockBackend for buffer alignment Andrey Drobyshev via
2023-09-15 18:39 ` Eric Blake
2023-09-15 19:27 ` Andrey Drobyshev
2023-09-19 8:18 ` Hanna Czenczek
2023-09-19 9:26 ` Andrey Drobyshev
2023-09-15 16:20 ` [PATCH v2 4/8] qemu-img: add chunk size parameter to compare_buffers() Andrey Drobyshev via
2023-09-15 19:28 ` Eric Blake
2023-09-19 8:32 ` Hanna Czenczek
2023-09-15 16:20 ` [PATCH v2 5/8] qemu-img: rebase: avoid unnecessary COW operations Andrey Drobyshev via
2023-09-15 21:52 ` Eric Blake
2023-09-16 17:45 ` Andrey Drobyshev
2023-09-19 10:46 ` Hanna Czenczek
2023-09-19 16:21 ` Andrey Drobyshev
2023-09-15 16:20 ` [PATCH v2 6/8] iotests/{024, 271}: add testcases for qemu-img rebase Andrey Drobyshev via
2023-09-19 11:08 ` Hanna Czenczek
2023-09-15 16:20 ` [PATCH v2 7/8] qemu-img: add compression option to rebase subcommand Andrey Drobyshev via
2023-09-15 16:20 ` [PATCH v2 8/8] iotests: add tests for "qemu-img rebase" with compression Andrey Drobyshev via
2023-09-19 11:14 ` Hanna Czenczek [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0e0923bd-01f0-e19a-c183-e6b7951fe550@redhat.com \
--to=hreitz@redhat.com \
--cc=andrey.drobyshev@virtuozzo.com \
--cc=den@virtuozzo.com \
--cc=eblake@redhat.com \
--cc=kwolf@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).