svn commit: r350721 - stable/12/sbin/camcontrol

Alexander Motin mav at FreeBSD.org
Thu Aug 8 02:07:06 UTC 2019


Author: mav
Date: Thu Aug  8 02:07:05 2019
New Revision: 350721
URL: https://svnweb.freebsd.org/changeset/base/350721

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

Modified: stable/12/sbin/camcontrol/camcontrol.c
==============================================================================
--- stable/12/sbin/camcontrol/camcontrol.c	Thu Aug  8 02:06:23 2019	(r350720)
+++ stable/12/sbin/camcontrol/camcontrol.c	Thu Aug  8 02:07:05 2019	(r350721)
@@ -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)


More information about the svn-src-stable mailing list