mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
blockjob: Update function name in comments
Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Alberto Garcia <berto@igalia.com> Message-id: 1428069921-2957-5-git-send-email-famz@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
e62303a437
commit
a7282330c0
2 changed files with 2 additions and 2 deletions
|
@ -287,7 +287,7 @@ static void coroutine_fn backup_run(void *opaque)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* we need to yield so that qemu_aio_flush() returns.
|
/* we need to yield so that bdrv_drain_all() returns.
|
||||||
* (without, VM does not reboot)
|
* (without, VM does not reboot)
|
||||||
*/
|
*/
|
||||||
if (job->common.speed) {
|
if (job->common.speed) {
|
||||||
|
|
|
@ -475,7 +475,7 @@ static void coroutine_fn mirror_run(void *opaque)
|
||||||
(cnt + s->sectors_in_flight) * BDRV_SECTOR_SIZE;
|
(cnt + s->sectors_in_flight) * BDRV_SECTOR_SIZE;
|
||||||
|
|
||||||
/* Note that even when no rate limit is applied we need to yield
|
/* Note that even when no rate limit is applied we need to yield
|
||||||
* periodically with no pending I/O so that qemu_aio_flush() returns.
|
* periodically with no pending I/O so that bdrv_drain_all() returns.
|
||||||
* We do so every SLICE_TIME nanoseconds, or when there is an error,
|
* We do so every SLICE_TIME nanoseconds, or when there is an error,
|
||||||
* or when the source is clean, whichever comes first.
|
* or when the source is clean, whichever comes first.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue