]> sourceware.org Git - lvm2.git/commit
cache: Retain orphans while global lock held.
authorAlasdair G Kergon <agk@redhat.com>
Wed, 18 Mar 2015 23:20:09 +0000 (23:20 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Wed, 18 Mar 2015 23:20:09 +0000 (23:20 +0000)
commit80f4b4b8039a88dfa2648a9b5bb5e16f41b81f87
tree9eebe354fccfec02e115c195f3c250d6601e88a2
parent32a6c11877946bfc34a7af0821a793fd62f6bb36
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.
WHATS_NEW
lib/cache/lvmcache.c
This page took 0.035468 seconds and 5 git commands to generate.