[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3] qemu-iotests: use blkdebug to make test dete
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v3] qemu-iotests: use blkdebug to make test deterministic |
Date: |
Thu, 07 Nov 2013 12:33:04 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9 |
Il 07/11/2013 12:25, Fam Zheng ha scritto:
> Mirror doesn't complete automatically, so we don't need the sequence:
>
> 1) Pause IO on device.
> 2) Start job.
> 3) Send block job cancel/complete command to wire.
> 4) Resume IO.
>
> Block stream/commit/backup need because without step 1) the job could
> complete after 2) but before 3), so the block-job-complete may get an
> error return (no job no device).
>
> Is it?
Yes.
> So I'll review commit and backup cases then.
Yes.
Paolo