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

Dan Smith danms at us.ibm.com
Thu Jun 15 15:59:21 UTC 2006


This patch adds the dm-userspace target to the kernel.  I have tested
it successfully on both i386 and x86_64 SMP machines.

The idea of dm-userspace is to export an interface for userspace
control over device-mapper block placement decisions.  It effectively
allows device-mapper target logic to be implemented in userspace.

I have a library that provides a simple record-based userspace
interface for communication with a dm-userspace target, available
here:

  http://static.danplanet.com/dm-userspace/libdmu-0.3.tar.gz

The library tarball also contains an example.c, which demonstrates how
to write a userspace application (in about 16 lines of actual code).

I would really like feedback about the kernel module.  I'm definitely
willing to do whatever work is needed to make this an acceptable part
of device-mapper.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dm-userspace_06152006.patch
Type: text/x-patch
Size: 40200 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20060615/b3c5a65c/attachment.bin>
-------------- next part --------------
-- 
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/b3c5a65c/attachment.sig>


More information about the dm-devel mailing list