Bug 129174

Summary: There is a bug in the scsi_request_fn function in drivers/scsi_lib.c
Product: Red Hat Enterprise Linux 3 Reporter: Heather Conway <conway_heather>
Component: kernelAssignee: Doug Ledford <dledford>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: petrides, riel
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-02 04:32:12 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 Heather Conway 2004-08-04 18:47:29 UTC
Description of problem:
I/O hang encountered during overnight I/O test with induced path 
failures on RHEL 3.0 v2.4.21-15.0.3.EL
I/O load consisted of:
- copy/remove of files to/from three mounted PowerPath devices 
- one write dd process to a fourth pseudo device

Path failures consisted of (interleaving):
- initiator-side port failures
- target-side port failures

It looks as though there is a bug in the scsi_request_fn function in 
drivers/scsi_lib.c around line number 1060. There should be a call to 
blkdev_release request, in the case of init_cmnd failure. 
When the sd driver fails the init_command callout, the scsi driver 
does not release the request, causing a request leak. Eventually, the 
PowerPath code will go to requeue a request in emcp_requeue(), and 
will wait forever. 


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


How reproducible:


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


Expected results:


Additional info:

Comment 1 Ernie Petrides 2004-08-05 23:20:10 UTC

*** This bug has been marked as a duplicate of 119771 ***

Comment 2 John Flanagan 2004-09-02 04:32:12 UTC
An errata 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 the 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-2004-433.html