Make retries obey host_self_blocked flag #2
PATCH 1/1 Make retries obey host_self_blocked flag #2
Lets try this again, this time with the patch attached....
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
I'm trying to improve and extend scsi_block_requests, and this is the first, and hopefully least controversial, step.
Signature · 3 lines
Brian King eServer Storage I/O IBM Linux Technology Center
drivers/scsi/scsi.c +1 -1
@@ -784,7 +784,7 @@*/ memset (cmd->sense_buffer,0 ,sizeof (cmd->sense_buffer)); -return scsi_dispatch_cmd (cmd); +return scsi_queue_insert (cmd,SCSI_MLQUEUE_EH_RETRY ); }/*