No description
This repository has been archived on 2026-10-04. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • C 92.4%
  • Roff 4.6%
  • Makefile 1.7%
  • Python 1.1%
  • Shell 0.2%
Find a file
David Teigland d97b013a06 dlm_controld: send plock operations without resource lookup
When plock_ownership mode is disabled, a plock operation read from
the kernel can be sent to all nodes immediately, without looking up
the local resource struct.  This is faster, and it avoids a bug in
cases where multiple threads in a process submit concurrent fcntl
lock ops on a file.

This bug occurs because create/free of the resource struct should
only be done in the context of ordered receive_plock cpg messages.
plock unlock results were being incorrectly returned based on the
non-existence of a struct resource checked in process_plocks (outside
of the ordered message context.)  In this case, the existence of the
resource struct was used to imply a lock state ("no locks"), which is
invalid to conclude outside of the message context.  The bug would
only appear in the unusual scenario where multiple threads in a
process are running concurrent fcntl lock operations on a file.

This fix does not address the problem when plock_ownership is enabled,
so warnings are added for the plock_ownership setting.
2026-01-20 11:34:49 -05:00
dlm_controld dlm_controld: send plock operations without resource lookup 2026-01-20 11:34:49 -05:00
dlm_sand dlm_controld: Support for extended value of kernel DLM_MAX_ADDR_COUNT 2025-02-24 09:37:11 -05:00
dlm_tool dlm_sand: add new daemon 2024-04-22 11:30:27 -05:00
fence fence: use correct header detected by pkg-config 2023-04-18 07:17:19 +02:00
include release 4.3.0 2024-04-22 11:17:54 -05:00
init init: Enable systemctl help dlm to show relevant man pages 2021-12-02 14:10:49 -05:00
libdlm libdlm_lt: fix pc file 2023-02-17 10:07:12 -06:00
python python: use force=2 as default 2022-08-15 15:48:52 -04:00
.gitignore version.cf: define RELEASE_VERSION 2011-10-05 15:15:25 -05:00
dlm.spec.in Set BINDIR in dlm.spec.in 2025-01-28 13:35:39 +00:00
Makefile build: don´t fail if make rpm is invoked with -j 2023-05-25 09:24:41 -04:00
README.license dlm_controld: update rbtree implementation 2023-08-21 12:19:46 -04:00
README.rst source moved to https://pagure.io/dlm 2017-02-28 15:46:42 -06:00

| ``See https://pagure.io/dlm``
| ``See dlm_controld(8) at dlm.git/dlm_controld/dlm_controld.8``
| ``See dlm.conf(5) at dlm.git/dlm_controld/dlm.conf.5``