From: Mike Christie Date: Wed, 5 Nov 2008 01:47:19 +0000 (-0600) Subject: [SCSI] scsi_error regression: Fix idempotent command handling X-Git-Tag: v2.6.28-rc5~9^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=939c2288c35132fe340b2694c7d02cacf7593723;p=pandora-kernel.git [SCSI] scsi_error regression: Fix idempotent command handling Drivers want to be able to return DID_TRANSPORT_DISRUPTED and have it do the right thing for commands like tape and passthrouh as far as retries go. The LLDs previously used DID_BUS_BUSY or DID_ERROR which followed the cmd->retries limit, but DID_TRANSPORT_DISRUPTED was skipping that check so it could have caused a problem with tape commands. This patch has DID_TRANSPORT_DISRUPTED check the cmd->retries/cmd->allowed. Signed-off-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed