Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jun 2019 05:19:37 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r349010 - head/sbin/camcontrol
Message-ID:  <201906130519.x5D5JbLa036191@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Thu Jun 13 05:19:36 2019
New Revision: 349010
URL: https://svnweb.freebsd.org/changeset/base/349010

Log:
  Increase the timeout for READ NATIVE MAX
  
  READ NATIVE MAX can take longer than a second if the queued NCQ I/Os
  take longer than a second to drain.

Modified:
  head/sbin/camcontrol/camcontrol.c

Modified: head/sbin/camcontrol/camcontrol.c
==============================================================================
--- head/sbin/camcontrol/camcontrol.c	Thu Jun 13 05:05:58 2019	(r349009)
+++ head/sbin/camcontrol/camcontrol.c	Thu Jun 13 05:19:36 2019	(r349010)
@@ -2059,7 +2059,7 @@ ata_read_native_max(struct cam_device *device, int ret
 			   /*sector_count*/0,
 			   /*data_ptr*/NULL,
 			   /*dxfer_len*/0,
-			   timeout ? timeout : 1000,
+			   timeout ? timeout : 5000,
 			   is48bit);
 
 	if (error)



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