1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-18 10:04:20 +03:00
David Teigland 2bce6faed0 pvchange: fix file locking deadlock
Calling clear_hint_file() to invalidate hints would acquire
the hints flock before the global flock which could cause deadlock.
The lock order requires the global lock to be taken first.

pvchange was always invalidating hints, which was unnecessary;
only invalidate hints when changing a PV uuid.  Because of the
lock ordering, take the global lock before clear_hint_file which
locks the hints file.
2021-06-02 16:29:54 -05:00
..
2021-04-23 23:00:55 +02:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2017-03-28 16:11:35 +01:00
2016-01-21 12:11:37 +01:00
2020-10-20 22:22:52 +02:00
2020-10-20 22:22:52 +02:00
2020-10-20 22:22:52 +02:00
2020-10-20 22:22:52 +02:00
2016-01-21 12:11:37 +01:00
2021-03-22 11:37:19 +01:00
2020-10-20 22:22:52 +02:00
2018-12-04 14:06:46 -06:00
2016-01-21 12:11:37 +01:00
2018-07-11 11:26:42 -05:00
2021-06-02 16:29:54 -05:00
2021-04-23 23:00:55 +02:00
2021-02-23 16:43:32 -06:00
2016-01-21 12:11:37 +01:00
2019-06-25 15:39:08 -05:00
2020-09-01 17:57:50 +02:00
2016-01-21 12:11:37 +01:00
2018-06-13 14:14:03 -05:00
2016-01-21 12:11:37 +01:00
2021-02-23 16:43:32 -06:00
2021-04-19 14:40:14 +02:00
2021-02-23 16:43:32 -06:00
2019-06-25 15:39:08 -05:00
2021-03-10 01:29:44 +01:00
2020-04-24 11:14:29 -05:00
2019-06-25 15:39:08 -05:00
2021-04-23 23:00:55 +02:00