From: Zdenek Kabelac <zkabelac@redhat.com>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] custom targets in lvm created dm tree
Date: Wed, 27 May 2015 13:17:25 +0200 [thread overview]
Message-ID: <5565A7C5.5000408@redhat.com> (raw)
In-Reply-To: <D1850E72.1B024%murali.balcha@triliodata.com>
Dne 22.5.2015 v 22:48 Murali Balcha napsal(a):
> Hi,
>
> We are planning to implement couple of custom targets and we want to add to
> lvm created dm tree. How tolerant is LVM with custom targets in its tree
> structure? For example if an LVM is resized when the tree has custom target,
> does it keep the custom target after resize. Are there any best practices that
> I need to follow adding custom targets?
In general - there trial plugin support for various targets
(as you can see i.e. with the '--with-thin=internal|shared|none' option.
However this plugin support is not generally well designed and thus target
often needs various tweaks across whole code base since every target usually
brings-in something new which needs in certain situation special care
(i.e. even allocation of such LV might impose new restriction on extent
allocator).
So I'm quite afaird lvm2 is not really capable to support 'external' plugin
types for different targets.
So your best chance is probably to propose a new type of supported target
(you could start to look at i.e. thin-pool target support) - but I'm still
afraid it's quite a big challenge trying to understand lvm2/dm internals -
there are many undocumented restrictions which are hard to easily follow.
So I expect target might need to be maintained by some lvm2 team member for
full support.
Do you want to support/enhance some existing dm/lvm2 targets ?
(If not - is it going to be included in linux kernel ?)
Is even GPL code ?
What is the time frame for support inclusion you are looking for ?
(it might be quite lengthy process to fully support new --type)
Zdenek
prev parent reply other threads:[~2015-05-27 11:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-22 20:48 [linux-lvm] custom targets in lvm created dm tree Murali Balcha
2015-05-27 11:17 ` Zdenek Kabelac [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=5565A7C5.5000408@redhat.com \
--to=zkabelac@redhat.com \
--cc=linux-lvm@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).