]> Git Repo - qemu.git/commit
block/mirror: Always call block_job_sleep_ns()
authorMax Reitz <[email protected]>
Mon, 27 Apr 2015 11:07:31 +0000 (13:07 +0200)
committerKevin Wolf <[email protected]>
Tue, 28 Apr 2015 13:36:11 +0000 (15:36 +0200)
commit001c95b740b2ed3d8b486952f68b5f06e609f1f2
tree0209428e0d4360bd4586937615369b49945a6fde
parent59fc5d844fe192494308d0f07507b712ec395129
block/mirror: Always call block_job_sleep_ns()

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 <[email protected]>
Reviewed-by: Fam Zheng <[email protected]>
Reviewed-by: Paolo Bonzini <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/mirror.c
This page took 0.023115 seconds and 4 git commands to generate.