From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=42570 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTcho-0007Xt-7s for qemu-devel@nongnu.org; Fri, 17 Dec 2010 10:58:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTchS-0004Zo-SD for qemu-devel@nongnu.org; Fri, 17 Dec 2010 10:58:33 -0500 Received: from mtagate4.uk.ibm.com ([194.196.100.164]:44499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTchS-0004YI-Kx for qemu-devel@nongnu.org; Fri, 17 Dec 2010 10:58:30 -0500 Received: from d06nrmr1707.portsmouth.uk.ibm.com (d06nrmr1707.portsmouth.uk.ibm.com [9.149.39.225]) by mtagate4.uk.ibm.com (8.13.1/8.13.1) with ESMTP id oBHFwSGD015406 for ; Fri, 17 Dec 2010 15:58:28 GMT Received: from d06av03.portsmouth.uk.ibm.com (d06av03.portsmouth.uk.ibm.com [9.149.37.213]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id oBHFwUO31654808 for ; Fri, 17 Dec 2010 15:58:30 GMT Received: from d06av03.portsmouth.uk.ibm.com (localhost.localdomain [127.0.0.1]) by d06av03.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id oBHFwS2R023560 for ; Fri, 17 Dec 2010 08:58:28 -0700 From: Stefan Hajnoczi Date: Fri, 17 Dec 2010 15:58:19 +0000 Message-Id: <1292601502-5222-1-git-send-email-stefanha@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 0/3] qed: Add support for zero clusters List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf This patch series adds zero data clusters to QED. Clusters can be marked as zero clusters to store zeroed regions in a space-efficient way. The patch never actually creates new zero clusters but includes the I/O path support code to handle them if they are used by an image file. Image streaming and copy-on-read take advantage of zero data clusters to avoid expanding out zeroes from the backing file. Those features are separate patches that will come later but I'm presenting this patch now so we can get this core QED image format feature in before doing the first QEMU release containing QED. The first patch fixes up an issue with the QED merge where '^' characters were dropped from the QED specification. The last two patches document and implement zero clusters, which were originally implemented by Anthony Liguori .