Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jun 2019 23:41:59 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Warner Losh <imp@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, svn-src-head@freebsd.org
Subject:   Re: svn commit: r349010 - head/sbin/camcontrol
Message-ID:  <CANCZdfrMM25vy2f%2B5Gf3-L=ry3D8wLzxhrngAMVfBxy72hwPmg@mail.gmail.com>
In-Reply-To: <201906130519.x5D5JbLa036191@repo.freebsd.org>
References:  <201906130519.x5D5JbLa036191@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 12, 2019, 11:19 PM Warner Losh <imp@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)
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrMM25vy2f%2B5Gf3-L=ry3D8wLzxhrngAMVfBxy72hwPmg>