All of lore.kernel.org
 help / color / mirror / Atom feed
* "lv_attr" disappeared from lvm_lv_get_property?
@ 2015-01-29 19:50 Marius Vollmer
  2015-01-29 20:03 ` Alasdair G Kergon
  0 siblings, 1 reply; 9+ messages in thread
From: Marius Vollmer @ 2015-01-29 19:50 UTC (permalink / raw)
  To: lvm-devel

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?



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-01-30  9:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-29 19:50 "lv_attr" disappeared from lvm_lv_get_property? Marius Vollmer
2015-01-29 20:03 ` 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

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.