svn commit: r349010 - head/sbin/camcontrol
Warner Losh
imp at FreeBSD.org
Thu Jun 13 05:19:38 UTC 2019
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)
More information about the svn-src-all
mailing list