[dm-devel] [PATCH] Add dm-userspace target

Dan Smith danms at us.ibm.com
Fri Jun 16 03:05:09 UTC 2006


RS> Could you be more specific by the phrase of "block placement
RS> decisions" what placement are you referring too?

Sure.

So, take a complex format like qcow for example.  All of the data for
the disk is in the file, but clearly not in linear order, right?  Not
only is it non-linear, but it's in some form that requires some
understanding of a sophisticated set of metadata to linearize it.
But, since the data is just jumbled up, we can use device-mapper to
create a linear pseudo device that maps the linear blocks to their
correct location in the qcow file.  However, putting this logic in the
kernel is mildly ugly, and gets extremely ugly when you talk about
adding another format, such as vmdk, msvhd, etc.

With dm-userspace and the help of my userspace application (cowd), you
can mount these files as if they were normal disks in linux.

So, by giving a userspace application real-time control over the
mappings, we can push the complexity into userspace.  There are a lot
of other nifty things you can do from the comfort of userspace once
you have this generic enabler in the kernel to act on your behalf.
*Lots* :)

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms at us.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20060615/05259a24/attachment.sig>


More information about the dm-devel mailing list