diff --git a/WHATS_NEW b/WHATS_NEW index 6462e1878..5911c6443 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.133 - ====================================== + Fix lvmcache to move PV from VG to orphans if VG is removed and lvmetad used. Fix lvmcache to not cache even invalid info about PV which got removed. Support checking of memlock daemon counter. Allow all log levels to be used with the lvmetad -l option. diff --git a/lib/cache/lvmcache.c b/lib/cache/lvmcache.c index 1bc42414c..31f2aa9fb 100644 --- a/lib/cache/lvmcache.c +++ b/lib/cache/lvmcache.c @@ -1542,10 +1542,6 @@ int lvmcache_update_vgname_and_id(struct lvmcache_info *info, struct lvmcache_vg vgid = vgname; } - /* When using lvmetad, the PV could not have become orphaned. */ - if (lvmetad_active() && is_orphan_vg(vgname) && info->vginfo) - return 1; - /* If PV without mdas is already in a real VG, don't make it orphan */ if (is_orphan_vg(vgname) && info->vginfo && mdas_empty_or_ignored(&info->mdas) &&