[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH] block/mirror: Always call block_job_sleep_ns()
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-block] [PATCH] block/mirror: Always call block_job_sleep_ns() |
Date: |
Mon, 27 Apr 2015 15:00:04 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 27/04/2015 13:07, Max Reitz wrote:
> The mirror block job is trying to take a clever shortcut if delay_ns is
> 0 and skips block_job_sleep_ns() in that case. But that function must be
> called in every block job iteration, because otherwise it is for example
> impossible to pause the job.
>
> Signed-off-by: Max Reitz <address@hidden>
> ---
> This makes test 129 pass when run in tmpfs (for me, at least).
Reviewed-by: Paolo Bonzini <address@hidden>