Received: from eggs.gnu.org ([2001:4830:134:3::10]:51845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB2EZ-0001xk-0e for qemu-devel@nongnu.org; Tue, 13 Jan 2015 09:14:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YB2ET-0008Pl-FH for qemu-devel@nongnu.org; Tue, 13 Jan 2015 09:14:14 -0500 Received: from mx2.parallels.com ([199.115.105.18]:51348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB2ET-0008PB-7K for qemu-devel@nongnu.org; Tue, 13 Jan 2015 09:14:09 -0500 Date: Tue, 13 Jan 2015 17:13:57 +0300 From: Roman Kagan Message-ID: <20150113141356.GA14136@rkaganb.sw.ru> References: <1419931701-19362-1-git-send-email-den@openvz.org> <1419934032-24216-1-git-send-email-den@openvz.org> <1419934032-24216-4-git-send-email-den@openvz.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1419934032-24216-4-git-send-email-den@openvz.org> Subject: Re: [Qemu-devel] [PATCH 13/19] block/parallels: store ParallelsHeader to the BDRVParallelsState 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, Dec 30, 2014 at 01:07:06PM +0300, Denis V. Lunev wrote: > This would be useful for the future for speed optimizations of new block > creation in the image. At the moment each write to the catalog bitmap > results in read-modify-write transaction. It would be beneficial to > write by pages or sectors. Though in order to do that for the begining > of the image we should keep the header somethere to obtain first sector > of the image properly. BDRVParallelsState would be a good place for that. > > Signed-off-by: Denis V. Lunev > CC: Kevin Wolf > CC: Stefan Hajnoczi > --- > block/parallels.c | 19 ++++++++++--------- > 1 file changed, 10 insertions(+), 9 deletions(-) Acked-by: Roman Kagan Roman.