New: [rhinstaller/blivet/pulls/274 master] Do not try to get LVM cache's size from stats for inactive LV

vpodzime installerbot-noreply at redhat.com
Tue Nov 10 20:23:55 UTC 2015


If the cached LV is not active, we cannot determine the size of its cache from
the stats because these are only available for activated LVs. However, if the LV
and cache exist, we examined them on devicetree population and got the
information about the size at that point. Thus we can used the stored value if
the LV is no longer active.

Also, keep the logic of when we should be able to get stats in one place.

note: this fixes a bug I hit when trying to install F23 on my workstation -- blivet.reset() fails because when we try to dump the state, the cached LV is inactive.
-- 
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/274


More information about the anaconda-patches mailing list