Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 532773

Summary: qdiskd erroneously writes the message "qdiskd: read (system call) has hung for X seconds"
Product: Red Hat Enterprise Linux 5 Reporter: Shane Bradley <sbradley>
Component: cmanAssignee: Christine Caulfield <ccaulfie>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.4CC: cluster-maint, djansa, edamato, tao
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: cman-2.0.115-20.el5.src.rpm Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-30 08:37:34 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:
Bug Depends On:    
Bug Blocks: 537157    
Attachments:
Description Flags
running node's sosreport none

Description Shane Bradley 2009-11-03 19:14:21 UTC
Description of problem:

qdiskd erroneously writes the message "qdiskd: read (system call) has
hung for X seconds" to the syslog.  This appears to be caused by the
main qdiskd thread calling pthread_cond_broadcast while it does not
have the state mutex locked, resulting in the I/O hang detection
thread being woken up twice, causing it to read the same state twice.

Version-Release number of selected component (if applicable):
cman-2.0.115-1.el5_4.3

How reproducible:
Often

Steps to Reproduce:
1. Setup qdisk 
2. Wait for operation to hit this condition
  
Actual results:
qdiskd warns that qdisk is in bad state when in fact it is not in bad
state.

Expected results:
qdiskd should only warn when there is an actually problem.

Additional info:
Patch is located at:
http://git.fedorahosted.org/git/?p=cluster.git;a=commit;h=8000c70a8d28a2e79305babd8b869b73605a3349

Comment 14 errata-xmlrpc 2010-03-30 08:37:34 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-2010-0266.html

Comment 17 Vince Worthington 2010-10-03 14:28:29 UTC
Created attachment 451277 [details]
running node's sosreport