Bug 658248

Summary: [Emulex 6.1 feat] add BSG and FC Transport patches from Upstream
Product: Red Hat Enterprise Linux 6 Reporter: Vaios Papadimitriou <vaios.papadimitriou>
Component: kernelAssignee: Mike Christie <mchristi>
Status: CLOSED ERRATA QA Contact: Storage QE <storage-qe>
Severity: high Docs Contact:
Priority: high    
Version: 6.1CC: coughlan, cward, fge, laurie.barry, qcai, revers, rlary
Target Milestone: rcKeywords: FutureFeature, OtherQA
Target Release: 6.1   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: kernel-2.6.32-112.el6 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 12:21:18 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 Vaios Papadimitriou 2010-11-29 19:41:58 UTC
This is a request to add to the RHEL6.1 kernel the following patches already submitted in the upstream kernel:

1.
http://git.kernel.org/?p=linux/kernel/git/jejb/scsi-rc-fixes-2.6.git;a=commit;h=78d16341facf829a71b6f7c68ec5511b9c168060

[SCSI] scsi_transport_fc: fix blocked bsg request when fc object deleted.

This patch is already merged into 2.6.37-rc1 kernel.

2. 
http://marc.info/?l=linux-scsi&m=128975117904385&w=2

bsg: correct fault if queue object removed while dev_t open

This patch has not been committed to a git pool yet. However, this patch is *assumed* to be accepted as there was no negative comments/concerns since its submission on 11/14/2010.


The above kernel patches address issues found while testing with the Emulex LPFC device driver.

Comment 3 Vaios Papadimitriou 2010-12-09 21:57:31 UTC
Patch accepted upstream:

-------- Original Message -------- 
Subject: 	Patch added to scsi-rc-fixes-2.6: [SCSI] bsg: correct fault if queue object removed while dev_t open
Date: 	Wed, 8 Dec 2010 15:46:45 -0800
From: 	James Bottomley <jejb>

To: 	Smart, James <James.Smart>, James Bottomley <James.Bottomley>, Lajeunesse, Carl <Carl.Lajeunesse>


Your commit:

    [SCSI] bsg: correct fault if queue object removed while dev_t open
    
    This patch corrects an issue in bsg that results in a general protection
    fault if an LLD is removed while an application is using an open file
    handle to a bsg device, and the application issues an ioctl. The fault
    occurs because the class_dev is NULL, having been cleared in
    bsg_unregister_queue() when the driver was removed.  With this
    patch, a check is made for the class_dev, and the application
    will receive ENXIO if the related object is gone.
    
    Signed-off-by: Carl Lajeunesse <carl.lajeunesse>
    Signed-off-by: James Smart <james.smart>
    Signed-off-by: James Bottomley <James.Bottomley>

has been added to the upstream SCSI tree
You can find it here:

http://git.kernel.org/?p=linux/kernel/git/jejb/scsi-rc-fixes-2.6.git;a=commit;h=9b7958fb235b0151c07ad583929585e94477fd23

This patch is scheduled to be pushed for 2.6.37

James Bottomley

P.S. If you find this email unwanted, set up a procmail rule junking on
the header:

X-Git-Tree: SCSI

Comment 4 RHEL Program Management 2011-01-07 03:50:11 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 5 Andrius Benokraitis 2011-01-07 15:50:38 UTC
(In reply to comment #4)
> This request was evaluated by Red Hat Product Management for
> inclusion in the current release of Red Hat Enterprise Linux.
> Because the affected component is not scheduled to be updated
> in the current release, Red Hat is unfortunately unable to
> address this request at this time. Red Hat invites you to
> ask your support representative to propose this request, if
> appropriate and relevant, in the next release of Red Hat
> Enterprise Linux. If you would like it considered as an
> exception in the current release, please ask your support
> representative.


Please disregard this, as it was in error.

Comment 6 Suzanne Logcher 2011-01-07 16:11:17 UTC
This request was erroneously denied for the current release of Red Hat
Enterprise Linux.  The error has been fixed and this request has been
re-proposed for the current release.

Comment 7 Aristeu Rozanski 2011-02-03 16:08:24 UTC
Patch(es) available on kernel-2.6.32-112.el6

Comment 11 Chris Ward 2011-04-06 11:11:20 UTC
~~ Partners and Customers ~~

This bug was included in RHEL 6.1 Beta. Please confirm the status of this request as soon as possible.

If you're having problems accessing 6.1 bits, are delayed in your test execution or find in testing that the request was not addressed adequately, please let us know.

Thanks!

Comment 12 errata-xmlrpc 2011-05-19 12:21:18 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