scsi: add DID_REQUEUE to the error handling
author <jejb@titanic.il.steeleye.com> <>
Tue, 12 Apr 2005 22:49:09 +0000 (17:49 -0500)
committerJames Bottomley <jejb@titanic>
Mon, 18 Apr 2005 17:35:06 +0000 (12:35 -0500)
commitbf341919dbc1fbcbb565fb3224c840760ebd9f85
tree9ff0bb375ccd709b018eccd6d338bf18b9c898aa
parent6f71d9bc025b02a8cbc2be83b0226a7043a507a5
scsi: add DID_REQUEUE to the error handling

We have a DID_IMM_RETRY to require a retry at once, but we could do with
a DID_REQUEUE to instruct the mid-layer to treat this command in the
same manner as QUEUE_FULL or BUSY (i.e. halt the submission until
another command returns ... or the queue pressure builds if there are no
outstanding commands).

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_error.c
include/scsi/scsi.h