mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-17 06:04:23 +03:00
899a4ca275
This fixes a problem in commit ae0a8740c. The problem in that commit was that all existing PVs are initially dropped from lvmetad. This works if the VG is updated at the end, which replaces the dropped PVs, but if the rescan finds that the VG seqno is unchanged, it leaves the cached VG in place. So, we should only drop the existing PVs in lvmetad when the VG is going to be updated.