dm-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Joe Thornber <thornber@redhat.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: Multisnap / dm-thin
Date: Thu, 19 Jan 2012 14:58:05 +0000	[thread overview]
Message-ID: <20120119145742.GA12793@ubuntu> (raw)
In-Reply-To: <4F180AB2.3060801@shiftmail.org>

On Thu, Jan 19, 2012 at 01:21:06PM +0100, Spelic wrote:
> On 01/19/12 10:33, Joe Thornber wrote:
> but it seems to talk about a snapshot of an external origin.
> Supporting a readonly external origin is easy but it's not what I want.
> Supporting a r/w external origin... I don't know how it could ever
> be done since you won't receive notifications of the underlying
> origin changing. Would that be made with a sort of hook points in
> all device types in the kernel?
> 
> Seems a big can of worms to go that way just for my use case.
> For my use case it would be simpler if there was a way to fully
> preallocate a contiguous origin in thinp, and then the ability to
> disable discard implementation when it gets implemented. Clearly
> this would go against the name "thin".

The trouble with having a contiguous image within the pool, is you
then need to keep track of every other thin device that is sharing a
block.  If you write to the block you'd then have to update the
metadata for all these snaps, destroying the nice time complexity
properties (at the momement breaking sharing only changes the metadata
for the device being written too).

I'll think some more about this, but I don't think I've got a quick
answer for you.

> Another question: is support from userspace (LVM) planned? Is there
> an ETA? Will that be from you or we are waiting for LVM people to
> pick it up?
> Because being just DM it seems a bit hard to use.

Grab the latest lvm2 source from cvs.  It has thinp support.

- Joe

      reply	other threads:[~2012-01-19 14:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-18 10:35 Multisnap / dm-thin Spelic
2012-01-19  9:33 ` Joe Thornber
2012-01-19 12:21   ` Spelic
2012-01-19 14:58     ` Joe Thornber [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=20120119145742.GA12793@ubuntu \
    --to=thornber@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).