1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/locking
David Teigland 7c9c3ba5d5 lvmlockd: fix report of lv_active_exclusively for special lv types
Cover a case missed by the recent commit e0ea0706d
"report: query lvmlockd for lv_active_exclusively"

Fix the lv_active_exclusively value reported for thin LVs.
It's the thin pool that is locked in lvmlockd, and the thin
LV state was mistakenly being queried and not found.

Certain LV types like thin can only be activated exclusively, so
always report lv_active_exclusively true for these when active.
2023-01-10 15:37:15 -06:00
..
.exported_symbols Pre-release cleanups. 2009-05-21 03:04:52 +00:00
file_locking.c locking: unify global lock for flock and lockd 2019-04-29 13:01:05 -05:00
locking_types.h Implement lock-override options without locking type 2018-06-07 16:17:04 +01:00
locking.c label: cache dm device list 2021-12-20 16:13:28 +01:00
locking.h backup: automatically store data on vg_unlock 2021-06-09 14:56:13 +02:00
lvmlockd.c lvmlockd: fix report of lv_active_exclusively for special lv types 2023-01-10 15:37:15 -06:00
lvmlockd.h lvmlockd: fix report of lv_active_exclusively for special lv types 2023-01-10 15:37:15 -06:00