From: Andrew Vasquez Date: Thu, 28 Feb 2008 22:06:11 +0000 (-0800) Subject: [SCSI] qla2xxx: Correct usage of inconsistent timeout values while issuing ELS commands. X-Git-Tag: v2.6.25-rc5~25^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00a537b8204c7360852379b4d56adbeedecc9bb9;p=pandora-kernel.git [SCSI] qla2xxx: Correct usage of inconsistent timeout values while issuing ELS commands. The original code would incorrectly hardcode ELS timeout values rather than using the traditional '2 * r_a_tov' value. In some cases, the hardcoded values would be larger than the mailbox-command-timeout and result in a needless BIG_HAMMER (ISP reset), the typical recovery mechanism employed in such cases. The second defect in the original code was in the assignment of the default 'ha->r_a_tov' to twice the traditional value. Correct this by setting the value to 10 seconds. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley --- Reading git-diff-tree failed