From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:47088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXbnc-0006uT-66 for qemu-devel@nongnu.org; Mon, 05 Dec 2011 11:53:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXbnY-0006sH-3T for qemu-devel@nongnu.org; Mon, 05 Dec 2011 11:53:52 -0500 Received: from mx1.redhat.com ([209.132.183.28]:32609) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXbnX-0006s4-Pa for qemu-devel@nongnu.org; Mon, 05 Dec 2011 11:53:48 -0500 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 pB5Grk27016271 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 5 Dec 2011 11:53:46 -0500 Message-ID: <4EDCF7DA.1050306@redhat.com> Date: Mon, 05 Dec 2011 17:56:58 +0100 From: Kevin Wolf MIME-Version: 1.0 References: <1321289454-9219-1-git-send-email-pbonzini@redhat.com> In-Reply-To: <1321289454-9219-1-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1.1 0/6] block: drop useless checks for NULL List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org Am 14.11.2011 17:50, schrieb Paolo Bonzini: > After the coroutinization of the block layer, immediate failures > of an AIO operation will still return an AIOCB and only report > failure with a bottom half. This lets us remove a lot of dead > NULL checks (patches 1-5). > > Patch 6 is on a similar theme, but a bit different. > > Most "added" lines are actually just reindented. > > Paolo Bonzini (6): > block: bdrv_aio_* do not return NULL > block: simplify failure handling for bdrv_aio_multiwrite > block: qemu_aio_get does not return NULL > dma: the passed io_func does not return NULL > block: dma_bdrv_* does not return NULL > block: avoid useless checks on acb->bh Thanks, applied all to the block branch. Kevin