Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

Re: [Xen-devel] Re: [PATCH 0 of 6] dm-userspace xen integrationpatches

To: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [PATCH 0 of 6] dm-userspace xen integrationpatches
From: Dan Smith <danms@xxxxxxxxxx>
Date: Tue, 29 Aug 2006 07:51:38 -0700
Cc: Dan Smith <danms@xxxxxxxxxx>, Julian Chesterfield <jac90@xxxxxxxxx>, Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 29 Aug 2006 07:52:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D5725AC@xxxxxxxxxxxxxxxxxxxxxxxxxxx> (Ian Pratt's message of "Tue, 29 Aug 2006 15:42:46 +0100")
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D5725AC@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)
IP> What data structure / format are you using for storing the CoW
IP> data?

Currently, I've got a really simple format that just forms an identity
mapping by using a bitmap.  The first block (or blocks) on the
destination is reserved for metadata.  After that, if bit X is set,
then block X is located in block X+1 in the cow space.  It's fast, it
doesn't waste space, and it's easy to predict a mapping and flush it
later to avoid metadata reservations.

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms@xxxxxxxxxx

Attachment: pgpVdSEM4ovZX.pgp
Description: PGP signature

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel