Bug 178080

Summary: RFE: sm plugin workaround for bug #177934
Product: [Retired] Red Hat Cluster Suite Reporter: Lon Hohberger <lhh>
Component: magma-pluginsAssignee: Lon Hohberger <lhh>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: ccaulfie, cluster-maint
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2006-0240 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-09 19:48:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lon Hohberger 2006-01-17 18:53:27 UTC
+++ This bug was initially created as a clone of Bug #177934 +++

Description of problem:

If you call dlm_release_lockspace() in libdlm from userland from an application
A, application B's reference to the open lockspace will become invalid if
application B has no locks granted at the time of the release.

e.g.

Program A        Program B
Create LS 'Foo'
                 Open LS 'Foo'
Acquire lock
Release lock
Release LS
                 Acquire lock   <-- returns -1 / ENOENT
------------------------------------------------------------

The idea here is to provide a workaround in the plugin itself.  The simplest
solution is to take a null lock in the lockspace so that release_lockspace
doesn't have anything to check.

Comment 1 Lon Hohberger 2006-01-24 19:18:57 UTC
Fixes in CVS - RHEL4/head/STABLE

Comment 4 Red Hat Bugzilla 2006-03-09 19:48:29 UTC
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.

http://rhn.redhat.com/errata/RHBA-2006-0240.html