Bug 681306

Summary: tape: deadlock on global work queue
Product: Red Hat Enterprise Linux 6 Reporter: Joseph Kachuck <jkachuck>
Component: kernelAssignee: Hendrik Brueckner <brueckner>
Status: CLOSED ERRATA QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: brueckner, cward, peterm
Target Milestone: rcKeywords: OtherQA
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-2.6.32-130.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 12:00:19 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:
Attachments:
Description Flags
linux-2.6.32-s390-tape-system-wq-deadlock.patch none

Description Joseph Kachuck 2011-03-01 18:39:02 UTC
Created attachment 481702 [details]
linux-2.6.32-s390-tape-system-wq-deadlock.patch

linux-2.6.32-s390-tape-system-wq-deadlock.patch

Description: tape: deadlock on global work queue
Symptom: System hang when using tape device driver.
Problem: The 34xx and 3590 tape driver use the system work queue to
defer work from the interrupt function to process context.
The same work queue is used to retry a command if it failed
with a deferred condition code. Therefore the work function
may not wait for the end of a command, otherwise a deadlock
occurs.
Solution: Move the post processing of the tape commands started via the
global work queue to the request callback function.


Server architecture(s): System z
Server type: s390x
General component: kernel
Other components involved: No

Does the server have the latest GA firmware?
Yes.

Has the problem been shown to occur on more than one system?
Yes.

Is a tested patch available?
Yes.

If yes to the above, has it been approved upstream?
The patch will be sent for upstream inclusion.

What is the latest official Red Hat build on which this bug has been seen?
RHEL6.1 Alpha


With best regards,
Hendrik

Comment 1 Hendrik Brueckner 2011-03-07 10:14:27 UTC
The patch has been posted to rhkernel by Hendrik Brueckner <brueckner>

Comment 2 RHEL Program Management 2011-03-07 15:21:46 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 3 Aristeu Rozanski 2011-04-07 14:14:24 UTC
Patch(es) available on kernel-2.6.32-130.el6

Comment 6 Chris Ward 2011-05-06 11:41:37 UTC
@IBM, test results?

Comment 7 errata-xmlrpc 2011-05-19 12:00:19 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/RHSA-2011-0542.html