1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-19 14:04:17 +03:00
David Teigland 0bb9ae53db lvmlockd: avoid lockd_vg for local VGs
Previously, a command would call lockd_vg() for a local VG,
which would go to lvmlockd, which would send back ENOLS,
and the command would not care when it saw the VG was local.
The pointless back-and-forth to lvmlockd for local VGs can
be avoided by checking the VG lock_type in lvmcache (which
label_scan now saves there; this wasn't the case back when
the original lockd_vg logic was added.)  If the lock_type
saved during label_scan indicates a local VG, then the
lockd_vg step is skipped.

(cherry picked from commit bf60cb4da23cac2f6b721170dd0d8bfd38b16466)
2024-07-09 19:33:03 +02:00
..
2016-01-21 12:11:37 +01:00
2024-05-13 02:21:28 +02:00
2024-05-13 02:21:28 +02:00
2016-01-21 12:11:37 +01:00
2023-02-10 17:50:27 +01:00
2024-05-13 02:20:29 +02:00
2024-05-13 12:58:37 +02:00
2024-05-13 02:15:55 +02:00
2024-03-17 13:17:53 +01:00
2022-09-09 16:18:55 -05: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
2024-05-13 02:15:55 +02:00
2016-01-21 12:11:37 +01:00
2024-07-09 19:29:03 +02:00
2024-05-13 14:49:54 +02:00
2024-05-13 02:21:37 +02:00
2024-05-04 01:01:57 +02:00
2022-09-09 16:18:55 -05:00
2024-05-13 02:15:55 +02:00
2023-07-15 11:05:35 +02:00
2024-04-29 00:13:43 +02:00
2024-05-13 02:21:37 +02:00
2016-01-21 12:11:37 +01:00
2024-05-04 01:01:57 +02:00
2019-06-25 15:39:08 -05:00
2024-05-04 01:01:57 +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
2024-05-02 11:59:42 +02:00
2023-02-22 16:19:48 -06:00
2021-08-16 11:31:15 -05:00
2023-07-15 11:05:35 +02:00