Misc bug fixes and code cleanup:
- Fix system hang while running on systems with IOMMU
- Fix use after free issues with rports
- Don't free mailbox structure if it's still on the mboxq list
- Decrement txq_cnt rather than txcmplq_cnt when parsing the txq list
- Use msleep for long delays to
Modify ELS abort handling to prevent double completion
Rework portions of ELS abort handling to prevent double completion
- Rework ELS iotags and correct abort routine
- Move the (badly wrong) ELS completion logic from the initial ELS
abort request function to the ELS completion function.
-
Rework offline path to solve HBA reset issues
Signed-off-by: James Smart [EMAIL PROTECTED]
diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
--- a/drivers/scsi/lpfc/lpfc_attr.c 2007-04-24 11:12:40.0 -0400
+++ b/drivers/scsi/lpfc/lpfc_attr.c 2007-04-24
Fix unlock inside list traversal.
Signed-off-by: James Smart [EMAIL PROTECTED]
diff -upNr a/drivers/scsi/lpfc/lpfc_crtn.h b/drivers/scsi/lpfc/lpfc_crtn.h
--- a/drivers/scsi/lpfc/lpfc_crtn.h 2007-04-24 11:12:41.0 -0400
+++ b/drivers/scsi/lpfc/lpfc_crtn.h 2007-04-24
Reorganize lpfc_nlp_list() and callers to prepare for nodelist simplification.
Signed-off-by: James Smart [EMAIL PROTECTED]
diff -upNr a/drivers/scsi/lpfc/lpfc_crtn.h b/drivers/scsi/lpfc/lpfc_crtn.h
--- a/drivers/scsi/lpfc/lpfc_crtn.h 2007-04-24 11:12:41.0 -0400
+++
Round 2 of Miscellaneous fixes:
- Ensure we don't prematurely re-enable IRQs in lpfc_sli_abort_fcp_cmpl().
- Prevent freeing of iocb after IOCB_TIMEDOUT error.
- Added code to cleanup REG_LOGIN mailbox command when a LOGO is received.
- Fix offline window where more work can sneak in after
Fixed recovery of rport after race with dev_loss_tmo
Signed-off-by: James Smart [EMAIL PROTECTED]
diff -upNr a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c
--- a/drivers/scsi/lpfc/lpfc_hbadisc.c 2007-04-24 11:12:41.0 -0400
+++ b/drivers/scsi/lpfc/lpfc_hbadisc.c
Improve diagnostic messages and change local loopback message to KERN_INFO
Signed-off-by: James Smart [EMAIL PROTECTED]
diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
--- a/drivers/scsi/lpfc/lpfc_attr.c 2007-04-24 11:12:41.0 -0400
+++
Improve handling of failed ELS aborts.
Signed-off-by: James Smart [EMAIL PROTECTED]
diff -upNr a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
--- a/drivers/scsi/lpfc/lpfc_els.c 2007-04-24 11:12:42.0 -0400
+++ b/drivers/scsi/lpfc/lpfc_els.c 2007-04-24
Reference count node structures for node lifetime management.
Signed-off-by: James Smart [EMAIL PROTECTED]
diff -upNr a/drivers/scsi/lpfc/lpfc_crtn.h b/drivers/scsi/lpfc/lpfc_crtn.h
--- a/drivers/scsi/lpfc/lpfc_crtn.h 2007-04-24 11:12:41.0 -0400
+++ b/drivers/scsi/lpfc/lpfc_crtn.h
Collapse discovery lists to a single node list.
Signed-off-by: James Smart [EMAIL PROTECTED]
diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
--- a/drivers/scsi/lpfc/lpfc_attr.c 2007-04-24 11:12:42.0 -0400
+++ b/drivers/scsi/lpfc/lpfc_attr.c 2007-04-24
Don't process ERATT interrupts when issuing KILL_BOARD mbx command
Signed-off-by: James Smart [EMAIL PROTECTED]
diff -upNr a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h
--- a/drivers/scsi/lpfc/lpfc.h 2007-04-24 11:12:42.0 -0400
+++ b/drivers/scsi/lpfc/lpfc.h 2007-04-24
Add support for async scanning
Notes: This is the async scan patch to our driver from Matthew Wilcox.
The async scan logic is still subject to errors in insmod/rmmod, as
the async scan threads don't get shutdown when the module unloads
underneath them. See
Added support for 8G speed and new HBAs.
Signed-off-by: James Smart [EMAIL PROTECTED]
diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
--- a/drivers/scsi/lpfc/lpfc_attr.c 2007-04-24 11:12:42.0 -0400
+++ b/drivers/scsi/lpfc/lpfc_attr.c 2007-04-24
Change version number to 8.1.12
Signed-off-by: James Smart [EMAIL PROTECTED]
diff -upNr a/drivers/scsi/lpfc/lpfc_version.h b/drivers/scsi/lpfc/lpfc_version.h
--- a/drivers/scsi/lpfc/lpfc_version.h 2007-03-12 13:56:16.0 -0500
+++ b/drivers/scsi/lpfc/lpfc_version.h 2007-04-24
Update copyright year to 2007
Signed-off-by: James Smart [EMAIL PROTECTED]
diff -upNr a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
--- a/drivers/scsi/lpfc/lpfc_attr.c 2007-04-24 11:12:43.0 -0400
+++ b/drivers/scsi/lpfc/lpfc_attr.c 2007-04-24 11:12:43.0
On Wed, 25 Apr 2007 02:49:46 +0200
Olivier Galibert [EMAIL PROTECTED] wrote:
On Tue, Apr 24, 2007 at 01:53:27PM -0700, Kristen Carlson Accardi wrote:
Check to see if an ATAPI device supports Asynchronous Notification.
If so, enable it.
changes from last version:
* fix typo in
Check to see if an ATAPI device supports Asynchronous Notification.
If so, enable it.
Changes from last version:
* use parens around id in ata.h
Signed-off-by: Kristen Carlson Accardi [EMAIL PROTECTED]
Index: 2.6-git/drivers/ata/libata-core.c
Kristen Carlson Accardi wrote:
Check to see if an ATAPI device supports Asynchronous Notification.
If so, enable it.
Changes from last version:
* use parens around id in ata.h
Signed-off-by: Kristen Carlson Accardi [EMAIL PROTECTED]
Index: 2.6-git/drivers/ata/libata-core.c
On Wed, 25 Apr 2007 20:16:51 +0100
Matt Sealey [EMAIL PROTECTED] wrote:
+#define ata_id_has_AN(id) \
+ ( (((id)[76] != 0x) ((id)[76] != 0x)) \
+ ((id)[78] (1 5)) )
??
--- 2.6-git.orig/include/linux/libata.h
+++ 2.6-git/include/linux/libata.h
@@ -136,6 +136,7 @@
Kristen Carlson Accardi wrote:
On Wed, 25 Apr 2007 20:16:51 +0100
Matt Sealey [EMAIL PROTECTED] wrote:
+#define ata_id_has_AN(id) \
+ ( (((id)[76] != 0x) ((id)[76] != 0x)) \
+ ((id)[78] (1 5)) )
??
--- 2.6-git.orig/include/linux/libata.h
+++
This email lists some known regressions in Linus' tree compared to 2.6.20
with patches available.
If you find your name in the Cc header, you are either submitter of one
of the bugs, maintainer of an affectected subsystem or driver, a patch
of you caused a breakage or I'm considering you in any
22 matches
Mail list logo