[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH 8/8] qemu-iotests: test streaming to an intermed
From: |
Eric Blake |
Subject: |
Re: [Qemu-block] [PATCH 8/8] qemu-iotests: test streaming to an intermediate layer |
Date: |
Wed, 22 Apr 2015 13:54:33 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
On 04/16/2015 09:12 AM, Alberto Garcia wrote:
> This adds test_stream_intermediate(), similar to test_stream() but
> streams to the intermediate image instead.
>
> Signed-off-by: Alberto Garcia <address@hidden>
> ---
> tests/qemu-iotests/030 | 18 +++++++++++++++++-
> tests/qemu-iotests/030.out | 4 ++--
> 2 files changed, 19 insertions(+), 3 deletions(-)
>
I'm wondering if we should also test a multi-file stream. That is,
starting from:
A <- B <- C <- D <- E
and rebasing so that A is the backing file of D (pulling both B and C
into D):
A <- D <- E
we should be able to verify that B and C are unchanged, and that D
picked up changes from both intermediate files (in particular, it's nice
to test that we aren't being inefficient by breaking the operation into
two steps: streaming B into C then C into D would give the same end
result in D, but would waste time for any clusters in B that were not
changed in C but were changed in D).
But such a test could be a separate patch, so I don't see anything wrong
with this new test as-is.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-block] [PATCH v4 0/8] Support streaming to an intermediate layer, Alberto Garcia, 2015/04/16
- [Qemu-block] [PATCH 2/8] block: allow block jobs in any arbitrary node, Alberto Garcia, 2015/04/16
- [Qemu-block] [PATCH 6/8] docs: Document how to stream to an intermediate layer, Alberto Garcia, 2015/04/16
- [Qemu-block] [PATCH 5/8] block: Add QMP support for streaming to an intermediate layer, Alberto Garcia, 2015/04/16
- [Qemu-block] [PATCH 8/8] qemu-iotests: test streaming to an intermediate layer, Alberto Garcia, 2015/04/16
- [Qemu-block] [PATCH 3/8] block: never cancel a streaming job without running stream_complete(), Alberto Garcia, 2015/04/16
- [Qemu-block] [PATCH 4/8] block: Support streaming to an intermediate layer, Alberto Garcia, 2015/04/16
- [Qemu-block] [PATCH 1/8] block: keep a list of block jobs, Alberto Garcia, 2015/04/16
- [Qemu-block] [PATCH 7/8] qemu-iotests: fix test_stream_partial(), Alberto Garcia, 2015/04/16