Bug 813550 - [REGRESSION] be2iscsi: fix softirq errors when logging in and doing IO
Summary: [REGRESSION] be2iscsi: fix softirq errors when logging in and doing IO
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Mike Christie
QA Contact: Bruno Goncalves
URL:
Whiteboard:
: 816190 (view as bug list)
Depends On:
Blocks: 738934
TreeView+ depends on / blocked
 
Reported: 2012-04-17 20:32 UTC by Mike Christie
Modified: 2012-06-20 08:47 UTC (History)
2 users (show)

Fixed In Version: kernel-2.6.32-269.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-20 08:47:32 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:0862 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Linux 6 kernel security, bug fix and enhancement update 2012-06-20 12:55:00 UTC

Description Mike Christie 2012-04-17 20:32:19 UTC
Description of problem:

In the upstream kernel the queuecommand callout is called with no locks held. In RHEL 6 libiscsi is still using the old style locking so the queuecomand function is called with the host lock held and irqs disabled.

So in RHEL 6 when beiscsi_alloc_pdu is called and and spin_unlock_bh is used it will cause errors.

There is not need to use the bh locking in beiscsi_alloc_pdu because libiscsi will always do the right thing.


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


How reproducible:


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


Expected results:


Additional info:

Comment 1 RHEL Program Management 2012-04-17 20:49:52 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 2 Mike Christie 2012-04-30 21:51:32 UTC
*** Bug 816190 has been marked as a duplicate of this bug. ***

Comment 3 Jarod Wilson 2012-05-02 16:21:22 UTC
Patch(es) available on kernel-2.6.32-269.el6

Comment 6 Bruno Goncalves 2012-05-04 07:33:45 UTC
Ran IO Stress test for 24 hours against NetApp target and no error has been found.

uname -r
2.6.32-269.el6.x86_64

rpm -q iscsi-initiator-utils
iscsi-initiator-utils-6.2.0.872-41.el6.x86_64

modinfo be2iscsi
filename:       /lib/modules/2.6.32-269.el6.x86_64/kernel/drivers/scsi/be2iscsi/be2iscsi.ko
license:        GPL
author:         Emulex Corporation
version:        4.2.162.0

Comment 8 errata-xmlrpc 2012-06-20 08:47:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-0862.html


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