All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Asleson <tasleson@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH V4] lvm2app: Add thin and thin pool lv creation
Date: Tue, 16 Apr 2013 14:44:15 -0500	[thread overview]
Message-ID: <516DAA0F.2090604@redhat.com> (raw)
In-Reply-To: <5168268A.6040701@redhat.com>

On 04/12/2013 10:21 AM, Tony Asleson wrote:
> On 04/12/2013 07:40 AM, Zdenek Kabelac wrote:
>  > We really need here separate type of object to set all properties for
> thin.
>> (Since their amount will grow over the time) so you can't solve with any
>> bit field - this is not extensible.
>>
>> We need to create 'object' with properties, that can be controled in C++
>> like way - so we may extend it in future easily, without breaking API,
>> and leaving
>> 'old' unusable calls in the library.
> 
> I will take a swag at something early next week and post for people to
> review.  We need to get something in soon so that people can utilize the
> new thinp stuff.

Mohan, I'm having difficultly getting your patch to apply at the moment.
 I wanted to use it as the basis of this work.  Would you have time to
update your patch against head?

I was going to create a new opaque type, create a base initialize
function and then add get/set functions for items you have.  This would
then become the parameter to feed into the thinp functions.  I was going
to omit the low water mark for now.

I don't know off hand what all the possible parameters for the thin pool
creation vs. the thin lv creation, but from the patch it looks like thus
far there are more parameters when creating the thin pool?  Do we need
opaque parameters for the thin pool creation and the thin logical volume
creation?

You are more than welcome to take a pass at this too if you have the
bandwidth :-)

Thanks,
Tony



  reply	other threads:[~2013-04-16 19:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-19 17:24 [PATCH V4] lvm2app: Add thin and thin pool lv creation M. Mohan Kumar
2013-04-04 21:43 ` Tony Asleson
2013-04-12 12:25   ` M. Mohan Kumar
2013-04-12 12:40     ` Zdenek Kabelac
2013-04-12 15:21       ` Tony Asleson
2013-04-16 19:44         ` Tony Asleson [this message]
2013-04-17  6:29           ` M. Mohan Kumar
2013-04-25 19:57             ` Tony Asleson

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=516DAA0F.2090604@redhat.com \
    --to=tasleson@redhat.com \
    --cc=lvm-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.