From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTA7n-0005WH-TP for qemu-devel@nongnu.org; Mon, 16 Jan 2017 11:27:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cTA7j-0006vG-UF for qemu-devel@nongnu.org; Mon, 16 Jan 2017 11:27:15 -0500 Received: from mx1.redhat.com ([209.132.183.28]:43020) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cTA7j-0006v4-OA for qemu-devel@nongnu.org; Mon, 16 Jan 2017 11:27:11 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E2BBB635DA for ; Mon, 16 Jan 2017 16:27:11 +0000 (UTC) Date: Tue, 17 Jan 2017 00:26:50 +0800 From: Fam Zheng Message-ID: <20170116162650.GA11780@lemon> References: <20170113131731.1246-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170113131731.1246-1-pbonzini@redhat.com> Subject: Re: [Qemu-devel] [PATCH 00/16] aio_context_acquire/release pushdown, part 2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org, stefanha@redhat.com On Fri, 01/13 14:17, Paolo Bonzini wrote: > Paolo Bonzini (16): > aio: introduce aio_co_schedule and aio_co_wake > block-backend: allow blk_prw from coroutine context > test-thread-pool: use generic AioContext infrastructure > io: add methods to set I/O handlers on AioContext > io: make qio_channel_yield aware of AioContexts > nbd: do not block on partial reply header reads > coroutine-lock: reschedule coroutine on the AioContext it was running > on > qed: introduce qed_aio_start_io and qed_aio_next_io_cb > aio: push aio_context_acquire/release down to dispatching > block: explicitly acquire aiocontext in timers that need it > block: explicitly acquire aiocontext in callbacks that need it > block: explicitly acquire aiocontext in bottom halves that need it > block: explicitly acquire aiocontext in aio callbacks that need it > aio-posix: partially inline aio_dispatch into aio_poll > async: remove unnecessary inc/dec pairs > block: document fields protected by AioContext lock I could only spot a few minor issues as noted in individual replies, otherwise looks sane! Fam