From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=33285 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGxOE-0001UY-0l for qemu-devel@nongnu.org; Fri, 12 Nov 2010 12:26:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGxOC-0000j1-Un for qemu-devel@nongnu.org; Fri, 12 Nov 2010 12:26:17 -0500 Received: from mx1.redhat.com ([209.132.183.28]:5071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGxOC-0000iv-OB for qemu-devel@nongnu.org; Fri, 12 Nov 2010 12:26:16 -0500 Message-ID: <4CDD78D9.8090909@redhat.com> Date: Fri, 12 Nov 2010 18:26:49 +0100 From: Kevin Wolf MIME-Version: 1.0 References: <1288263684-18892-1-git-send-email-stefanha@linux.vnet.ibm.com> <1288263684-18892-4-git-send-email-stefanha@linux.vnet.ibm.com> In-Reply-To: <1288263684-18892-4-git-send-email-stefanha@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH v4 3/5] qed: Table, L2 cache, and cluster functions List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Anthony Liguori , Christoph Hellwig , qemu-devel@nongnu.org, Avi Kivity Am 28.10.2010 13:01, schrieb Stefan Hajnoczi: > This patch adds code to look up data cluster offsets in the image via > the L1/L2 tables. The L2 tables are writethrough cached in memory for > performance (each read/write requires a lookup so it is essential to > cache the tables). > > With cluster lookup code in place it is possible to implement > bdrv_is_allocated() to query the number of contiguous > allocated/unallocated clusters. > > Signed-off-by: Stefan Hajnoczi Didn't find any obvious problems with this one, but maybe that just means that I'm tired and should stop working for today. ;-) Kevin