1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/daemons/lvmlockd
David Teigland e158835a05 lvmlockd: make lockstart wait for existing start
If there are two independent scripts doing:
  vgchange --lockstart vg
  lvchange -ay vg/lv

The first vgchange to do the lockstart will wait for
the lockstart to complete before returning.
The second vgchange to do the lockstart will see that
the start is already in progress (from the first) and
will do nothing.  This means the second does not wait
for any lockstart to complete, and moves on to the
lvchange which may find the lockspace still starting
and fail.

To fix this, make the vgchange lockstart command
wait for any lockstart's in progress to complete.
2019-01-16 10:49:04 -06:00
..
.gitignore gitignore: Update for in-place build. 2015-07-27 13:18:35 +01:00
lvmlockctl.c lvmlockctl: wait by default when stopping 2018-11-27 13:41:33 -06:00
lvmlockd-client.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
lvmlockd-core.c lvmlockd: make lockstart wait for existing start 2019-01-16 10:49:04 -06:00
lvmlockd-dlm.c cleanup: use zalloc 2018-12-22 23:55:48 +01:00
lvmlockd-internal.h Revert "lvmlockd: Fix arguments when built without sanlock" 2018-12-21 22:41:00 +01:00
lvmlockd-sanlock.c cleanup: use zalloc 2018-12-22 23:55:48 +01:00
Makefile.in lvmlockd: use commonly used define NOTIFYDBUS_SUPPORT 2018-12-21 21:42:30 +01:00