Received: from eggs.gnu.org ([2001:4830:134:3::10]:51295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yn2Bu-0006MM-HR for qemu-devel@nongnu.org; Tue, 28 Apr 2015 05:52:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yn2Bp-0007Np-DW for qemu-devel@nongnu.org; Tue, 28 Apr 2015 05:52:34 -0400 Received: from mx2.parallels.com ([199.115.105.18]:56901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yn2Bp-0007Ne-7E for qemu-devel@nongnu.org; Tue, 28 Apr 2015 05:52:29 -0400 Date: Tue, 28 Apr 2015 12:26:21 +0300 From: Roman Kagan Message-ID: <20150428092618.GA15460@rkaganb.sw.ru> References: <1430207220-24458-1-git-send-email-den@openvz.org> <1430207220-24458-7-git-send-email-den@openvz.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1430207220-24458-7-git-send-email-den@openvz.org> Subject: Re: [Qemu-devel] [PATCH 06/27] block/parallels: provide _co_readv routine for parallels format driver List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Denis V. Lunev" Cc: Kevin Wolf , qemu-devel@nongnu.org, Stefan Hajnoczi On Tue, Apr 28, 2015 at 10:46:39AM +0300, Denis V. Lunev wrote: > Main approach is taken from qcow2_co_readv. > > The patch drops coroutine lock for the duration of IO operation and > peforms normal scatter-gather IO using standard QEMU backend. > > The patch also adds comment about locking considerations in the driver. > > Signed-off-by: Denis V. Lunev > CC: Roman Kagan > CC: Kevin Wolf > CC: Stefan Hajnoczi > --- > block/parallels.c | 54 +++++++++++++++++++++++++++++++++--------------------- > 1 file changed, 33 insertions(+), 21 deletions(-) Reviewed-by: Roman Kagan