Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2009 20:14:22 GMT
From:      Alexander Motin <mav@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 162967 for review
Message-ID:  <200905282014.n4SKEMbC091114@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=162967

Change 162967 by mav@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905282014.n4SKEMbC091114>