linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Dave Wysochanski <dwysocha@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] bug in lvm2app get_property value
Date: Mon, 22 Nov 2010 23:03:44 -0500	[thread overview]
Message-ID: <1290485024.31336.2.camel@f12-work> (raw)
In-Reply-To: <201011212234.20129.benscott@nwlink.com>

On Sun, 2010-11-21 at 22:34 -0800, ben wrote:
> For some reason the following functions return different numbers for single 
> segment volumes:
> 
>     value = lvm_lv_get_property(lvm_lv, "lv_size");
>     value = lvm_lvseg_get_property(lvm_lvseg, "seg_size");
> 
> The first function seems to be correct while the second one returns the same 
> value divided by 512?
> 

yes this is a bug - thanks for reporting.
Patch submitted to lvm-devel.

      reply	other threads:[~2010-11-23  4:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-22  6:34 [linux-lvm] bug in lvm2app get_property value ben
2010-11-23  4:03 ` Dave Wysochanski [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=1290485024.31336.2.camel@f12-work \
    --to=dwysocha@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).