From: Marius Vollmer <marius.vollmer@redhat.com>
To: lvm-devel@redhat.com
Subject: "lv_attr" disappeared from lvm_lv_get_property?
Date: Thu, 29 Jan 2015 21:50:08 +0200 [thread overview]
Message-ID: <87r3udicy7.fsf@red.mvo.lan> (raw)
Hi,
at one moment lvm_lv_get_property returned a valid and useful "lv_attr"
property, and then suddenly it returns values with "is_valid == 0".
I think it works with lvm2-2.02.111-1.fc21.x86_64 and am sure it fails
with lvm2-2.02.115-1.fc21.x86_64.
Furthermore, lvm_lv_get_attr, which might be the right function to use
in the first place, returns a incomplete value like "twi-XXtz--" where
the 'active' and 'open' fields are set to "unknown".
The lvs command still displays the correct values with "lvs -o lv_attr".
What in the name of holy backwards compatibility is going on here?
next reply other threads:[~2015-01-29 19:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-29 19:50 Marius Vollmer [this message]
2015-01-29 20:03 ` "lv_attr" disappeared from lvm_lv_get_property? Alasdair G Kergon
2015-01-29 20:24 ` Marius Vollmer
2015-01-29 20:46 ` Zdenek Kabelac
2015-01-30 7:51 ` Marius Vollmer
2015-01-30 9:14 ` Peter Rajnoha
2015-01-30 9:32 ` Marius Vollmer
2015-01-30 9:42 ` Peter Rajnoha
2015-01-30 9:54 ` Peter Rajnoha
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=87r3udicy7.fsf@red.mvo.lan \
--to=marius.vollmer@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.