RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 618303 - change default plock_ownership to 0
Summary: change default plock_ownership to 0
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: cluster
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: David Teigland
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-26 15:40 UTC by David Teigland
Modified: 2016-04-26 13:44 UTC (History)
8 users (show)

Fixed In Version: cluster-3.0.12-19.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-10 20:00:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
the patch (2.53 KB, text/plain)
2010-07-27 18:48 UTC, David Teigland
no flags Details

Description David Teigland 2010-07-26 15:40:17 UTC
Description of problem:

plock_ownership is an alternative, more complex, plock protocol in
dlm_controld that optimizes for a certain pattern of locking by
applications.

In RHEL5, plock_ownership defaults to 0 (off), and in RHEL6 it defaults to
1 (on).  on is more complicated and QE is still finding problems, i.e. off
is going to result in less customer problems.

Assuming both modes work correctly, neither is always a better choice.

on optimizes the case of repetitious locking of the same mostly unshared
(across nodes) files, at the expense of complexity and extra messages when
nodes are locking the same files.

off optimizes for the case of nodes generally acquiring locks on the same
files, at the expense of extra messages when nodes repeatedly lock their
own files that other nodes don't access.

At the beginning of RHEL6 development, we switched the default to on,
assuming, I suppose, that the new optimization would be an improvement
for most people, but I don't think that has been the case.

plock_ownership is one of the settings that cannot be changed online; the cluster needs to be stopped to change it.  This means it is not as quick and simple for people to change if they have problems with it, and it also means we cannot change the default setting in an update release.

Regarding the testing of the two modes, all (or most) RHEL5 testing has been done with it off, and this is substantially more testing than RHEL6 testing thus far with it on.  (The plock code is the same in RHEL5 and RHEL6, it's just the default protocol has changed.)

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


How reproducible:


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


Expected results:


Additional info:

Comment 2 RHEL Program Management 2010-07-26 15:57:35 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 4 David Teigland 2010-07-27 18:48:24 UTC
Created attachment 434798 [details]
the patch

Comment 7 Dean Jansa 2010-08-24 21:14:50 UTC
Man pages contain the new defaults.

Cluster defaults to off:

[root@marathon-01 cluster]# dlm_tool dump | grep plock_ownership

Comment 8 releng-rhel@redhat.com 2010-11-10 20:00:21 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.