From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:40310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVfHp-0001jj-7c for qemu-devel@nongnu.org; Wed, 30 Nov 2011 03:13:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVfHo-0007An-DH for qemu-devel@nongnu.org; Wed, 30 Nov 2011 03:13:01 -0500 Received: from mail-iy0-f173.google.com ([209.85.210.173]:64024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVfHo-00075J-9L for qemu-devel@nongnu.org; Wed, 30 Nov 2011 03:13:00 -0500 Received: by mail-iy0-f173.google.com with SMTP id k32so486935iak.4 for ; Wed, 30 Nov 2011 00:13:00 -0800 (PST) Sender: Paolo Bonzini Message-ID: <4ED5E587.6090400@redhat.com> Date: Wed, 30 Nov 2011 09:12:55 +0100 From: Paolo Bonzini 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=UTF-8; format=flowed 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: Kevin Wolf Cc: qemu-devel@nongnu.org On 11/14/2011 05:50 PM, Paolo Bonzini wrote: > 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 Ping. Paolo