From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:40834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTx4X-0006jG-5e for qemu-devel@nongnu.org; Tue, 07 Jun 2011 10:15:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTx4K-0006mt-78 for qemu-devel@nongnu.org; Tue, 07 Jun 2011 10:15:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:2173) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTx4J-0006mg-MX for qemu-devel@nongnu.org; Tue, 07 Jun 2011 10:15:44 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p57EFguL025788 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 7 Jun 2011 10:15:42 -0400 From: Kevin Wolf Date: Tue, 7 Jun 2011 16:18:30 +0200 Message-Id: <1307456313-9884-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 0/3] block: Avoid direct AIO callback List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, lcapitulino@redhat.com This series fixes some cases of block drivers calling AIO callbacks too early. It fixes the IDE assertion failure reported by Luiz (in error cases, the DMA status, including acb, could first be reset in the callback and only then be set by the caller, resulting in a dangling acb and wrong status register value). Kevin Wolf (3): qcow2: Avoid direct AIO callback qcow: Avoid direct AIO callback vdi: Avoid direct AIO callback block/qcow.c | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++- block/qcow2.c | 39 +++++++++++++++++++++++++++++-------- block/vdi.c | 40 +++++++++++++++++++++++++++++++++++--- 3 files changed, 122 insertions(+), 15 deletions(-) -- 1.7.5.2