]> sourceware.org Git - lvm2.git/commit
lvmlockd: check for multiple lock managers running 1260457301
authorDavid Teigland <teigland@redhat.com>
Fri, 19 Apr 2024 15:48:19 +0000 (10:48 -0500)
committerDavid Teigland <teigland@redhat.com>
Fri, 19 Apr 2024 15:53:37 +0000 (10:53 -0500)
commit85b711caae6f87b535cdbcfdaecf2cf58ebf6942
treef1d0692c9c312dbc6214c2cd1680a7f3ca878756
parentf4911177da581f8587fed2480b96643fc4b60e5a
lvmlockd: check for multiple lock managers running

When no lock manager for the global lock had been set yet,
and the first global lock request was received, and both
dlm and sanlock were running, lvmlockd would assume it
should use the dlm for the global lock, and would start
the "lvm_global" dlm lockspace automatically.  That's
not always correct, so don't assume the dlm should be used,
fail the lock request, and wait until a VG with a specific
lock type is started to determine the lock manager to use.
daemons/lvmlockd/lvmlockd-core.c
This page took 0.030235 seconds and 5 git commands to generate.