Red Hat Bugzilla – Bug 249758
locking in 5.1 breaks rgmanager
Last modified: 2009-04-16 18:18:10 EDT
Description of problem:
The changes to libdlm from 5.0->5.1 break rgmanager. This is most likely due to
rgmanager relying on a particular errant behavior in libdlm (where either
dlm_dispatch or dlm_ls_lock would return -1 on convert w/ no-queue).
The correction is to simply have rgmanager always look at the lock status prior
to accepting a lock grant.
This is easily reproducible with the locktest program in src/clulib.
Version-Release number of selected component (if applicable): 5.1 beta
How reproducible: 100%
Steps to Reproduce:
1. run locktest on one node
2. run locktest on another node
Actual results: Both locktest acquire an EX lock, or appear to.
Expected results: One locktest acquires an EX lock; the other hangs.
Created attachment 160070 [details]
Created attachment 160071 [details]
Patch in head RHEL51 RHEL5
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.