From: Ed Cashin <ecashin@coraid.com>
To: dm-devel@redhat.com
Subject: Re: Sending reads/writes to a userspace program?
Date: Fri, 21 Nov 2008 10:10:06 -0500 [thread overview]
Message-ID: <874p215d4h.fsf@coraid.com> (raw)
In-Reply-To: m3fy5xyori.fsf@guaranine.beaverton.ibm.com
Dan Smith <danms@us.ibm.com> writes:
> NJ> Does dm provide any way for a custom target type to redirect a read or
> NJ> write to a userspace program? Or even for it to notify the program of
> NJ> the read/write and wait until it gives the goahead, somewhat like the
> NJ> way page faulting works?
>
> I have been working on a userspace target, which allows you to do just
> what you describe. I have an hg tree up with some userspace tools, as
> well as an out-of-body version of the kernel module:
>
> http://static.danplanet.com/hg/dm-userspace.ring/
>
> I also have an actual kernel tree with dm-userspace support, from
> which I could generate a patch if the above does not work well for
> you.
>
> NJ> I'm wondering if it's possible to create a target type that
> NJ> implements a 'remote' block device with blocks stored on something
> NJ> like Amazon S3, keeping only a local cache of mapped blocks, and
> NJ> fetching / writing blocks as needed.
>
> Yep, I have done similar things with dm-userspace.
The dm-userspace target is very interesting to me because it would
allow me to use block devices that were based on arbitrary and
experimental aggregations of local and remote storage coordinated by a
simple userland program.
I see in the archives that there were some attempts to get
dm-userspace into the mainline kernel by way of the development device
mapper code, but I don't think there have been recent attempts to
get dm-userspace merged.
Is there a problem with dm-userspace that is keeping it out of the
mainline? If not, can it be resubmitted?
--
Ed Cashin <ecashin@coraid.com>
prev parent reply other threads:[~2008-11-21 15:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-16 10:53 Sending reads/writes to a userspace program? Nick Johnson
2007-05-16 11:46 ` Dan Smith
2008-11-21 15:10 ` Ed Cashin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874p215d4h.fsf@coraid.com \
--to=ecashin@coraid.com \
--cc=dm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.