aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/advansys.c
diff options
context:
space:
mode:
authorSumant Patro <sumant.patro@lsi.com>2007-05-17 08:47:51 -0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-05-24 10:08:27 -0400
commit05e9ebbefb379a4da782b21b8427c88ac28a2334 (patch)
treeeffaeaafd39a849d6a4a303bde6f60714c1a72c9 /drivers/scsi/advansys.c
parent3d9780b97667fcd63159c0933fdce75465da6c70 (diff)
[SCSI] megaraid_sas: intercept cmd timeout and throttle io
eh_timed_out call back (megasas_reset_timer) is used to throttle io to the adapter when it is called the first time for a scmd. The MEGASAS_FW_BUSY flag is set and can_queue reduced to 16. The can_queue is restored from completion routine in following two conditions : 5 seconds has elapsed and the # of outstanding cmds in FW is < 17. Signed-off-by: Sumant Patro <sumant.patro@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/advansys.c')
0 files changed, 0 insertions, 0 deletions