[blivet] Fix some problems with lvm detection.

David Lehman dlehman at redhat.com
Wed Apr 2 14:40:22 UTC 2014


Patch 1 fixes a bug introduced by commit fd40c67f03481a that doesn't
manifest in any noticeable way unless you scan a VG with multiple PVs,
which I did not do in my testing.

Patch 2 fixes a bug in commit 7928b2a07fb30d1a3bd that apparently
doesn't have any real consequences unless there are raid or thinp LVs
present. It also fixes a problem that seems like it must have been
caused by a change to the layout of thin pools.


I'm quite sick of this kind of fallout. In February I started working on
high-level tests that involve creating devices on disk images and then
feeding them to devicetree.populate to make sure it ends up seeing things
as they are. I put it on hold to deal with other things after DevConf,
but I am moving it to the top o' the pile as of now.



More information about the anaconda-patches mailing list