From: Sumant Patro Date: Thu, 17 May 2007 12:47:51 +0000 (-0700) Subject: [SCSI] megaraid_sas: intercept cmd timeout and throttle io X-Git-Tag: v2.6.22-rc4~100^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05e9ebbefb379a4da782b21b8427c88ac28a2334;p=pandora-kernel.git [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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed