Seen in RH 2.6.32, somehow got missed for longterm 2.6.32.
Shipped in 2.6.33 applies fine in latest Debian 2.6.32.

"In RHEL5 is the mpt2sas driver facing some issues in certain
configurations with sata disks attached via an expansion backplane.
The patch from LSI adds some missing initialization."

thank you for reconsideration.

----- Forwarded message from Linux Kernel Mailing List 
<[email protected]> -----

Date: Fri, 18 Dec 2009 02:00:12 GMT
From: Linux Kernel Mailing List <[email protected]>
To: [email protected]
Subject: [SCSI] mpt2sas: add missing initialization of scsih_cmds

Gitweb:     http://git.kernel.org/linus/d685c262083dcd5fd98b7499b22a377a3225229c
Commit:     d685c262083dcd5fd98b7499b22a377a3225229c
Parent:     6f4fdda41b01100cfe02afb1b84bf422cbf557d4
Author:     Kashyap, Desai <[email protected]>
AuthorDate: Tue Nov 17 13:16:37 2009 +0530
Committer:  James Bottomley <[email protected]>
CommitDate: Thu Dec 10 08:54:10 2009 -0600

    [SCSI] mpt2sas: add missing initialization of scsih_cmds
    
    Internal command scsih_cmds init is included in mpt2sas_base_attach.
    
    Signed-off-by: Kashyap Desai <[email protected]>
    Cc: Stable Tree <[email protected]>
    Signed-off-by: James Bottomley <[email protected]>
---
 drivers/scsi/mpt2sas/mpt2sas_base.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c 
b/drivers/scsi/mpt2sas/mpt2sas_base.c
index 6422e25..89d0240 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_base.c
+++ b/drivers/scsi/mpt2sas/mpt2sas_base.c
@@ -3583,6 +3583,11 @@ mpt2sas_base_attach(struct MPT2SAS_ADAPTER *ioc)
        ioc->transport_cmds.status = MPT2_CMD_NOT_USED;
        mutex_init(&ioc->transport_cmds.mutex);
 
+       /* scsih internal command bits */
+       ioc->scsih_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL);
+       ioc->scsih_cmds.status = MPT2_CMD_NOT_USED;
+       mutex_init(&ioc->scsih_cmds.mutex);
+
        /* task management internal command bits */
        ioc->tm_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL);
        ioc->tm_cmds.status = MPT2_CMD_NOT_USED;
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

----- End forwarded message -----

_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to