Skip to contentSkip to conversation

SCSI: Fix BUSY status handling in new_eh done routine

PATCH New Doug Ledford 1 participant 1 message Oct 29, 2003 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SCSI: Fix BUSY status handling in new_eh done routine

The handling of BUSY status messages is not the same between old and new eh done functions. The old eh code does it right. This updates the new eh code so that it does the same thing.

Signature · 4 lines
  Doug Ledford <[email protected]>     919-754-3700 x44233
         Red Hat, Inc.
         1801 Varsity Dr.
         Raleigh, NC 27606
drivers/scsi/scsi_error.c +1 -2
diff -Nru a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c
@@ -1044,6 +1044,7 @@
 	 */
 	switch (status_byte(SCpnt->result)) {
 	case QUEUE_FULL:
+	case BUSY:
 		/*
 		 * The case of trying to send too many commands to a tagged queueing
 		 * device.
@@ -1065,8 +1066,6 @@
 		 * Who knows?  FIXME(eric)
 		 */
 		return SUCCESS;
-	case BUSY:
-		goto maybe_retry;
 
 	case RESERVATION_CONFLICT:
 		printk("scsi%d (%d,%d,%d) : RESERVATION CONFLICT\n",