From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYIm5-000440-OV for qemu-devel@nongnu.org; Tue, 13 Nov 2012 10:51:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TYIm2-0006lg-Mz for qemu-devel@nongnu.org; Tue, 13 Nov 2012 10:51:41 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44703) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYIm2-0006lY-Fn for qemu-devel@nongnu.org; Tue, 13 Nov 2012 10:51:38 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qADFpbTZ013246 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 13 Nov 2012 10:51:37 -0500 From: Kevin Wolf Date: Tue, 13 Nov 2012 16:51:25 +0100 Message-Id: <1352821889-24150-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 0/4] Fix qemu_aio_flush callers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com This series has two patches that fixes current qemu_aio_flush() callers, which should call bdrv_drain_all() instead. The other two patches are for changing the coroutine request cancellation to waiting for a single request (Paolo didn't want to change this to bdrv_drain_all()) and removing qemu_aio_flush() altogether in order to avoid future misuse. Kevin Wolf (4): block: Improve bdrv_aio_co_cancel_em megasas: Use bdrv_drain_all instead of qemu_aio_flush qemu-io: Use bdrv_drain_all instead of qemu_aio_flush aio: Get rid of qemu_aio_flush() async.c | 5 ----- block.c | 19 ++++++++++++++++++- block/commit.c | 2 +- block/mirror.c | 2 +- block/stream.c | 2 +- hw/megasas.c | 2 +- main-loop.c | 5 ----- qemu-aio.h | 9 ++------- qemu-io.c | 2 +- 9 files changed, 25 insertions(+), 23 deletions(-) -- 1.7.6.5