All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ted Ts'o" <tytso@mit.edu>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: About the thin provision function @ kernel 3.2 or later.
Date: Tue, 17 Jan 2012 10:59:30 -0500	[thread overview]
Message-ID: <20120117155930.GA11903@thunk.org> (raw)
In-Reply-To: <20120117101330.GA15182@ubuntu>

On Tue, Jan 17, 2012 at 10:13:31AM +0000, Joe Thornber wrote:
> iii) We add support to patch metadata changes into the running
> metadata device.  This would allow us to map the origin directly into
> the pools data device (eg, using a linear target).  And then introduce
> a mapping for that origin.  This would mean the origin would appear as
> a thin dev within the pool.

Have you considered just doing this part first?  If there's a way that
an existing linear region could be considered a data source for a
pool, then wouldn't you get full support of existing LVM2 volumes
(read-only and read/write) for free, at one fell swoop?

Given that it's relatively rare that volume groups get moved, this
could even be something which is done as a off-line conversion step so
that existing LVM volumes are treated as "thin-provisioned voumes"
that happened to be fully provisioned, with some flag so that a
discard operation doesn't cause the blocks to be freed for use by some
other thin-provisioned volume, but instead is propagated down to the
hardware (for better SSD performance).

						- Ted

  reply	other threads:[~2012-01-17 15:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-16  1:27 About the thin provision function @ kernel 3.2 or later Yukihito HARA
2012-01-16 14:14 ` Mike Snitzer
2012-01-16 14:38 ` Joe Thornber
2012-01-16 15:59   ` Ted Ts'o
2012-01-17 10:13     ` Joe Thornber
2012-01-17 15:59       ` Ted Ts'o [this message]
2012-01-19  9:14         ` Joe Thornber
2012-01-27 16:04     ` Joe Thornber
2012-01-16 16:21 ` Heinz Mauelshagen

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=20120117155930.GA11903@thunk.org \
    --to=tytso@mit.edu \
    --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.