svn commit: r350784 - stable/11/sbin/camcontrol

Alexander Motin mav at FreeBSD.org
Thu Aug 8 21:31:24 UTC 2019


Author: mav
Date: Thu Aug  8 21:31:23 2019
New Revision: 350784
URL: https://svnweb.freebsd.org/changeset/base/350784

Log:
  MFC r349010 (by imp): 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:
  stable/11/sbin/camcontrol/camcontrol.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sbin/camcontrol/camcontrol.c
==============================================================================
--- stable/11/sbin/camcontrol/camcontrol.c	Thu Aug  8 21:30:44 2019	(r350783)
+++ stable/11/sbin/camcontrol/camcontrol.c	Thu Aug  8 21:31:23 2019	(r350784)
@@ -1892,7 +1892,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)


More information about the svn-src-stable mailing list