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

Reilly, Stephen (MRO) Steve.Reilly at hp.com
Fri Jun 16 02:36:32 UTC 2006


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

-----Original Message-----
From: dm-devel-bounces at redhat.com [mailto:dm-devel-bounces at redhat.com]
On Behalf Of Dan Smith
Sent: Thursday, June 15, 2006 11:59 AM
To: device-mapper development
Cc: Ryan Grimm
Subject: [dm-devel] [PATCH] Add dm-userspace target

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.





More information about the dm-devel mailing list