1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/cache
Alasdair G Kergon 80f4b4b803 cache: Retain orphans while global lock held.
Fixes segfault when 'pvs' encounters two different PVs sharing the same
uuid but one an orphan, the other in a VG.

If VG_GLOBAL is held, there seems no point in doing a full scan more
than once.

If undesirable side-effects show up, we can try restricting this to
VG_GLOBAL READ locks.  The original code dates back to 2.02.40.
2015-03-18 23:20:09 +00:00
..
lvmcache.c cache: Retain orphans while global lock held. 2015-03-18 23:20:09 +00:00
lvmcache.h toollib: search for duplicate PVs only when needed 2015-01-14 14:47:08 -06:00
lvmetad.c lvmetad: pvscan: do not scan and read ignored MDAs from PVs 2015-03-16 17:00:36 +01:00
lvmetad.h reporting: should not fail with foreign option if lvm1 pvs exist 2015-03-10 13:56:25 -05:00