mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-21 22:04:19 +03:00
9e2870cc9f
Over the time the code for preloading detached LVs got unnecessarily complicate. But actually we need to preload only LVs that were previously non-toplevel (invisible) LVs and became visible toplevel LVs in the precommitted metadata. If there would be needed some other rule, it would likely be a bug in conversion code forgetting to set visibility flag on detached LV. This reduces number of unnecessary repeated DM tree preloading.