aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorMarcin Tomczak <marcin.tomczak@intel.com>2012-01-04 04:32:54 -0500
committerJames Bottomley <JBottomley@Parallels.com>2012-01-16 02:43:39 -0500
commit6024d38b86ecc7943e398ef01b0dc2765870d444 (patch)
tree438704c82c54d11b790e68ad2415bad7f700d2a2 /drivers/scsi
parent9fee607f0b29adabd72265a847b8e421dff10d66 (diff)
[SCSI] isci: performance-fix, shorten default "no outbound task" timeout
"No task timeout timer reduced from 20 to 2 This timer controls how long the SCU hardware will hold open the TX side of the connection before sending a DONE. The timer allows the hardware to attempt to optimize the DONE/CLOSE behavior to allow for new COMMAND IU to be posted. In practice closing the connection quicker is better." Signed-off-by: Marcin Tomczak <marcin.tomczak@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/isci/host.c2
-rw-r--r--drivers/scsi/isci/init.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/isci/host.c b/drivers/scsi/isci/host.c
index 9a52b984620f..670ecb456d48 100644
--- a/drivers/scsi/isci/host.c
+++ b/drivers/scsi/isci/host.c
@@ -1697,7 +1697,7 @@ static void sci_controller_set_default_config_parameters(struct isci_host *ihost
1697 ihost->user_parameters.ssp_inactivity_timeout = 5; 1697 ihost->user_parameters.ssp_inactivity_timeout = 5;
1698 ihost->user_parameters.stp_max_occupancy_timeout = 5; 1698 ihost->user_parameters.stp_max_occupancy_timeout = 5;
1699 ihost->user_parameters.ssp_max_occupancy_timeout = 20; 1699 ihost->user_parameters.ssp_max_occupancy_timeout = 20;
1700 ihost->user_parameters.no_outbound_task_timeout = 20; 1700 ihost->user_parameters.no_outbound_task_timeout = 2;
1701} 1701}
1702 1702
1703static void controller_timeout(unsigned long data) 1703static void controller_timeout(unsigned long data)
diff --git a/drivers/scsi/isci/init.c b/drivers/scsi/isci/init.c
index 1047108ba4de..3c4ddad97053 100644
--- a/drivers/scsi/isci/init.c
+++ b/drivers/scsi/isci/init.c
@@ -94,7 +94,7 @@ MODULE_DEVICE_TABLE(pci, isci_id_table);
94 94
95/* linux isci specific settings */ 95/* linux isci specific settings */
96 96
97unsigned char no_outbound_task_to = 20; 97unsigned char no_outbound_task_to = 2;
98module_param(no_outbound_task_to, byte, 0); 98module_param(no_outbound_task_to, byte, 0);
99MODULE_PARM_DESC(no_outbound_task_to, "No Outbound Task Timeout (1us incr)"); 99MODULE_PARM_DESC(no_outbound_task_to, "No Outbound Task Timeout (1us incr)");
100 100