1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-04-05 06:50:43 +03:00
David Teigland 20d61a2553 pvs: fix locking_type 4
Fix for commit 79c4971210a6337563ffa2fca08fb636423d93d4.
This bug leads lvm to attempt a bogus recovery of the
orphan VG whenever the orphan VG is read.
No recovery code exists for the orphan VG, but lvm still
attempts it when the "consistent" variable is not set to 1.

When lvm attempts the bogus/no-op orphan recovery, it tries
to get a write lock.  Usually the write lock succeeds, and
"recovery" does nothing, so fairly harmless.  But, with
locking_type=4, the write lock fails, which bubbles up to
cause the whole command failure.
2020-03-06 09:06:10 -06:00
..
2016-04-29 19:47:15 +01:00
2018-04-30 16:55:02 -05:00
2019-04-10 13:30:34 +02:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2020-03-06 09:06:10 -06:00
2018-07-04 13:41:08 +02:00
2016-01-21 12:11:37 +01:00
2018-05-31 10:23:03 -05:00
2018-06-26 12:15:44 +02:00
2016-10-03 17:49:56 +02:00