Description of problem: Move the plock code from the lock_dlm module into the dlm so that it can be used by both gfs1 and gfs2. This is done because lock_dlm is being duplicated for gfs1 and gfs2, but we still need to share the plock code between them, i.e. maintain one instance of the plock code instead of two. This same shift was done upstream so that the plock code could be shared with ocfs2. The plock code is self-contained; its function does not change when shifting the code into the different module. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
fixed in two upstream commits: From 2402211a8389282fd2942fad4511f02c0eeeffc5 Mon Sep 17 00:00:00 2001 From: David Teigland <teigland> Date: Fri, 14 Mar 2008 15:09:15 -0500 Subject: [PATCH] dlm: move plock code from gfs2 Move the code that handles cluster posix locks from gfs2 into the dlm so that it can be used by both gfs2 and ocfs2. Signed-off-by: David Teigland <teigland> From 817d10bad56f2fdfa321b4a864a21295226b123a Mon Sep 17 00:00:00 2001 From: David Teigland <teigland> Date: Tue, 13 May 2008 14:28:26 -0500 Subject: [PATCH] dlm: fix plock dev_write return value The return value on writes to the plock device should be the number of bytes written. It was returning 0 instead when an nfs lock callback was involved. Reported-by: Nathan Straz <nstraz> Signed-off-by: David Teigland <teigland>
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.
patch posted to rhkernel-list http://post-office.corp.redhat.com/archives/rhkernel-list/2008-June/msg00092.html
in kernel-2.6.18-97.el5 You can download this test kernel from http://people.redhat.com/dzickus/el5
Release note added. If any revisions are required, please set the "requires_release_notes" flag to "?" and edit the "Release Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: This change requires that the cman package also be updated to the most recent version in order for the cluster infrastructure to work. If the package is not updated, you will see the following gfs_controld error messages in the log file: gfs_controld[3853]: /proc/misc: No entry for lock_dlm_plock found gfs_controld[3853]: Is dlm missing from kernel? The cman package related bugzilla is bug 450169.
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/RHSA-2009-0225.html