1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/locking
David Teigland e9413fb211 lvmlockd: use lvmlock LV size
Previously, lvmlockd detected the end of the lvmlock LV
by doing i/o to it until an i/o error was returned.
This triggered sanlock warning messages, so use the LV
size to avoid accessing beyond the end of the device.

Previously, every lvcreate would refresh the lvmlock LV
in case another machine had extended it.  This involves
a lot of unnecessary work in most cases, so now compare
the LV size and device size to detect when a refresh is
needed.
2024-09-26 08:53:09 -05:00
..
.exported_symbols Pre-release cleanups. 2009-05-21 03:04:52 +00:00
file_locking.c refactor: update dm_strncpy to _dm_strncpy 2024-04-04 19:38:21 +02:00
locking_types.h Implement lock-override options without locking type 2018-06-07 16:17:04 +01:00
locking.c Revert "dev-cache: move global variables into cmd struct" 2024-07-08 15:32:41 -05:00
locking.h backup: automatically store data on vg_unlock 2021-06-09 14:56:13 +02:00
lvmlockd.c lvmlockd: use lvmlock LV size 2024-09-26 08:53:09 -05:00
lvmlockd.h lvmlockd: fix compilation with disabled lvmlockd 2024-07-02 16:58:03 +02:00