From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhEOW-0002Ib-J7 for qemu-devel@nongnu.org; Mon, 05 May 2014 04:37:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhEON-00083A-Ha for qemu-devel@nongnu.org; Mon, 05 May 2014 04:37:04 -0400 Received: from e28smtp04.in.ibm.com ([122.248.162.4]:45641) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhEOM-00082l-QV for qemu-devel@nongnu.org; Mon, 05 May 2014 04:36:55 -0400 Received: from /spool/local by e28smtp04.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 5 May 2014 14:06:51 +0530 Received: from d28relay04.in.ibm.com (d28relay04.in.ibm.com [9.184.220.61]) by d28dlp01.in.ibm.com (Postfix) with ESMTP id 1A115E004B for ; Mon, 5 May 2014 14:07:14 +0530 (IST) Received: from d28av03.in.ibm.com (d28av03.in.ibm.com [9.184.220.65]) by d28relay04.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s458auBK56098910 for ; Mon, 5 May 2014 14:06:56 +0530 Received: from d28av03.in.ibm.com (localhost [127.0.0.1]) by d28av03.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s458amNR028840 for ; Mon, 5 May 2014 14:06:48 +0530 Date: Mon, 5 May 2014 14:09:34 +0530 From: Bharata B Rao Message-ID: <20140505083934.GA32070@in.ibm.com> References: <1398956086-20171-1-git-send-email-stefanha@redhat.com> <1398956086-20171-8-git-send-email-stefanha@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1398956086-20171-8-git-send-email-stefanha@redhat.com> Subject: Re: [Qemu-devel] [PATCH 07/22] gluster: use BlockDriverState's AioContext Reply-To: bharata@linux.vnet.ibm.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Kevin Wolf , Paolo Bonzini , "Shergill, Gurinder" , "Vinod, Chegu" , qemu-devel@nongnu.org On Thu, May 01, 2014 at 04:54:31PM +0200, Stefan Hajnoczi wrote: > Drop the assumption that we're using the main AioContext. Use > aio_bh_new() instead of qemu_bh_new(). > > The .bdrv_detach_aio_context() and .bdrv_attach_aio_context() interfaces > are not needed since no fd handlers, timers, or BHs stay registered when > requests have been drained. > > Cc: Bharata B Rao > Signed-off-by: Stefan Hajnoczi > --- > block/gluster.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) Changes look fine from gluster driver's point of view. Regards, Bharata.