Bug 450169

Summary: gfs_controld should read plocks from either dlm or lock_dlm
Product: Red Hat Enterprise Linux 5 Reporter: David Teigland <teigland>
Component: cmanAssignee: David Teigland <teigland>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: low Docs Contact:
Priority: low    
Version: 5.2CC: cluster-maint, edamato
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 21:53:10 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 David Teigland 2008-06-05 17:12:32 UTC
Description of problem:

For bug 450138, the kernel plock code was moved from gfs2 into the dlm.
gfs_controld needs to be adapted to this change, and read plocks from
either lock_dlm (kernels before 5.3), or dlm (kernels 5.3 and later).

The misc device gfs_controld reads/writes has previously been called
"lock_dlm_plock", but the patch for bug 450138 changes the name of
the device to "dlm_plock".  gfs_controld looks for "dlm_plock", and
if it's not found, looks for "lock_dlm_plock".  If "lock_dlm_plock"
is found, it knows that the filesystem/lockspace id in the plock
structures needs to be translated.  Otherwise, the operation of
plocks remains the same.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 David Teigland 2008-06-05 19:33:14 UTC
I'm waiting to push this change to the RHEL5 branch until the patch
for bug 450138 has been included in the RHEL5 kernel.  That patch
includes a new kernel header, dlm_plock.h, that is required for
building the modified gfs_controld.


Comment 2 RHEL Program Management 2008-06-05 19:34:16 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 5 errata-xmlrpc 2009-01-20 21:53:10 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 therefore 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-2009-0189.html