PERFORCE change 162967 for review

Alexander Motin mav at FreeBSD.org
Thu May 28 20:14:23 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=162967

Change 162967 by mav at mav_mavbook on 2009/05/28 20:14:15

	Reduce timeouts to ATA default.

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/cam/ata/ata_da.c#3 edit
.. //depot/projects/scottl-camlock/src/sys/cam/ata/ata_xpt.c#9 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/cam/ata/ata_da.c#3 (text+ko) ====

@@ -155,7 +155,7 @@
 static void		dashutdown(void *arg, int howto);
 
 #ifndef DA_DEFAULT_TIMEOUT
-#define DA_DEFAULT_TIMEOUT 60	/* Timeout in seconds */
+#define DA_DEFAULT_TIMEOUT 30	/* Timeout in seconds */
 #endif
 
 #ifndef	DA_DEFAULT_RETRY

==== //depot/projects/scottl-camlock/src/sys/cam/ata/ata_xpt.c#9 (text+ko) ====

@@ -352,7 +352,7 @@
 		      MSG_SIMPLE_Q_TAG,
 		      /*data_ptr*/(u_int8_t *)ident_buf,
 		      /*dxfer_len*/sizeof(struct ata_params),
-		      60 * 1000);
+		      30 * 1000);
 
 		if (periph->path->device->protocol == PROTO_ATA)
 			ataio->cmd.command = ATA_ATA_IDENTIFY;


More information about the p4-projects mailing list