From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eUl01-00083W-9q for qemu-devel@nongnu.org; Thu, 28 Dec 2017 22:06:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eUl00-0000Bx-FH for qemu-devel@nongnu.org; Thu, 28 Dec 2017 22:06:21 -0500 Date: Fri, 29 Dec 2017 11:06:08 +0800 From: Fam Zheng Message-ID: <20171229030608.GK13004@lemon> References: <20171207203036.14993-1-eblake@redhat.com> <20171207203036.14993-13-eblake@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171207203036.14993-13-eblake@redhat.com> Subject: Re: [Qemu-devel] [PATCH v6 12/20] qed: Switch to .bdrv_co_block_status() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: qemu-devel@nongnu.org, kwolf@redhat.com, qemu-block@nongnu.org, vsementsov@virtuozzo.com, Stefan Hajnoczi , Max Reitz On Thu, 12/07 14:30, Eric Blake wrote: > We are gradually moving away from sector-based interfaces, towards > byte-based. Update the qed driver accordingly, taking the opportunity > to inline qed_is_allocated_cb() into its lone caller (the callback > used to be important, until we switched qed to coroutines). There is > no intent to optimize based on the want_zero flag for this format. > > Signed-off-by: Eric Blake > Reviewed-by: Vladimir Sementsov-Ogievskiy Reviewed-by: Fam Zheng