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

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

diff -u --recursive --new-file v2.0.29/linux/drivers/scsi/scsi_ioctl.c linux/drivers/scsi/scsi_ioctl.c
@@ -247,8 +247,12 @@
 	retries = 1;
 	break;
       case START_STOP:
-      case MOVE_MEDIUM:
 	timeout =  60 * HZ;	/* 60 seconds */
+	retries = 1;
+	break;
+      case MOVE_MEDIUM:
+      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