On Wed, Jun 12, 2019, 11:19 PM Warner Losh <i...@freebsd.org> wrote:

> 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.
>

I didn't mean to commit this with such a short commit message and was
planning on getting it reviewed first. So this may change again.

Warner

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)
>
>
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to