Received: from eggs.gnu.org ([2001:4830:134:3::10]:45385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ydz0h-0004lz-5A for qemu-devel@nongnu.org; Fri, 03 Apr 2015 06:39:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ydz0g-0000ns-9J for qemu-devel@nongnu.org; Fri, 03 Apr 2015 06:39:35 -0400 From: Fam Zheng Date: Fri, 3 Apr 2015 18:39:02 +0800 Message-Id: <1428057542-24310-4-git-send-email-famz@redhat.com> In-Reply-To: <1428057542-24310-1-git-send-email-famz@redhat.com> References: <1428057542-24310-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH 3/3] blockjob: Update function name in comments List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , berto@igalia.com, qemu-block@nongnu.org, Jeff Cody , Stefan Hajnoczi , pbonzini@redhat.com Signed-off-by: Fam Zheng --- block/backup.c | 2 +- block/mirror.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/block/backup.c b/block/backup.c index 1c535b1..3312476 100644 --- a/block/backup.c +++ b/block/backup.c @@ -287,7 +287,7 @@ static void coroutine_fn backup_run(void *opaque) 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) */ if (job->common.speed) { diff --git a/block/mirror.c b/block/mirror.c index 4056164..513f19c 100644 --- a/block/mirror.c +++ b/block/mirror.c @@ -475,7 +475,7 @@ static void coroutine_fn mirror_run(void *opaque) (cnt + s->sectors_in_flight) * BDRV_SECTOR_SIZE; /* 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, * or when the source is clean, whichever comes first. */ -- 2.1.0