[PATCH] aic94xx nexus loss time value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The nexus loss time value should not be used for an upper level timeout
value. The nexus loss time is for connection request retries. The usage of
the nexus loss time value + HZ (3 seconds) for sdev->timeout leads to
timeouts under load (Bug 6046).

Signed-off-by: Mike Anderson <andmike@xxxxxxxxxx>

 drivers/scsi/sas/sas_scsi_host.c |    4 ----
 1 files changed, 4 deletions(-)

Index: aic94xx-sas-2.6-patched/drivers/scsi/sas/sas_scsi_host.c
===================================================================
--- aic94xx-sas-2.6-patched.orig/drivers/scsi/sas/sas_scsi_host.c	2006-03-06 10:42:59.000000000 -0800
+++ aic94xx-sas-2.6-patched/drivers/scsi/sas/sas_scsi_host.c	2006-03-07 15:42:07.000000000 -0800
@@ -585,10 +585,6 @@ int sas_slave_configure(struct scsi_devi
 		scsi_deactivate_tcq(scsi_dev, 1);
 	}
 
-	if (rdev->I_T_nexus_loss_timeout > 0)
-		scsi_dev->timeout = HZ +
-			msecs_to_jiffies(rdev->I_T_nexus_loss_timeout);
-
 	return 0;
 }
 
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux