1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-08 08:58:50 +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
..
2024-05-14 17:59:16 +02:00
2024-05-04 01:01:57 +02:00
2024-05-04 01:01:57 +02:00
2024-05-04 01:01:57 +02:00
2024-05-04 01:01:57 +02:00
2024-05-14 17:59:26 +02:00
2018-06-08 13:40:53 +01:00
2024-05-04 01:01:57 +02:00
2024-05-13 02:21:37 +02:00
2024-05-04 01:01:57 +02:00
2024-05-04 01:01:57 +02:00
2024-05-08 01:55:21 +02:00
2024-05-04 01:01:57 +02:00
2024-05-08 01:55:21 +02:00
2024-05-14 17:59:26 +02:00
2023-09-03 22:03:33 +02:00
2024-05-04 01:01:57 +02:00
2024-05-14 17:59:26 +02:00
2024-05-04 01:01:57 +02:00
2024-05-04 01:01:57 +02:00
2024-05-04 01:01:57 +02:00
2024-05-04 01:01:57 +02:00
2024-05-04 01:01:57 +02:00
2024-05-04 01:01:57 +02:00
2024-05-04 01:01:57 +02:00