mirror of
git://sourceware.org/git/lvm2.git
synced 2025-05-23 02:51:13 +03:00
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.