patch-2.1.28 linux/drivers/scsi/scsi_ioctl.c

Next file: linux/drivers/scsi/sd.c
Previous file: linux/drivers/scsi/aha1542.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.27/linux/drivers/scsi/scsi_ioctl.c linux/drivers/scsi/scsi_ioctl.c
@@ -247,8 +247,12 @@
 	retries = 1;
 	break;
       case START_STOP:
+	timeout =  2 * 60 * HZ;	/* 2 minutes */
+	retries = 1;
+	break;
       case MOVE_MEDIUM:
-	timeout =  60 * HZ;	/* 60 seconds */
+      case READ_ELEMENT_STATUS:
+	timeout =  5 * 60 * HZ;	/* 5 minutes */
 	retries = 1;
 	break;
       default:

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov