Commit e2723daf authored by Brian King's avatar Brian King Committed by Christoph Hellwig

[PATCH] SCSI: Make retries obey host_self_blocked flag

The following patch against 2.6.2 will prevent the midlayer from
issuing retries if host_self_blocked is set. This was raised as an
issue here:

http://marc.theaimsgroup.com/?l=linux-scsi&m=107357742430401&w=2
parent 052f3330
...@@ -784,7 +784,7 @@ int scsi_retry_command(struct scsi_cmnd *cmd) ...@@ -784,7 +784,7 @@ int scsi_retry_command(struct scsi_cmnd *cmd)
*/ */
memset(cmd->sense_buffer, 0, sizeof(cmd->sense_buffer)); memset(cmd->sense_buffer, 0, sizeof(cmd->sense_buffer));
return scsi_dispatch_cmd(cmd); return scsi_queue_insert(cmd, SCSI_MLQUEUE_EH_RETRY);
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment