No description
Find a file
Fabian Grünbichler 9dd866204c pmxcfs: protect CPG operations with mutex
cpg_mcast_joined (and transitively, cpg_join/leave) are not thread-safe.
pmxcfs triggers such operations via FUSE and CPG dispatch callbacks,
which are running in concurrent threads.

accordingly, we need to protect these operations with a mutex, otherwise
they might return CS_OK without actually doing what they were supposed
to do (which in turn can lead to the dfsm taking a wrong turn and
getting stuck in a supposedly short-lived state, blocking access via
FUSE and getting whole clusters fenced).

huge thanks to Alexandre Derumier for providing the initial bug report
and quite a lot of test runs while debugging this issue.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-09-30 13:26:11 +02:00
data pmxcfs: protect CPG operations with mutex 2020-09-30 13:26:11 +02:00
debian bump version to 6.1-8 2020-05-03 18:19:31 +02:00
.gitignore gitignore: do not track *.buildinfo files 2018-07-26 09:33:06 +02:00
cpgtest.c cpgtest: updates for corosync 2 2015-02-25 18:11:20 +01:00
Makefile fix buildsys for new library packages 2019-11-22 16:28:25 +01:00