Date: Fri, 26 Jul 2002 09:22:38 -0400 (EDT) From: John Baldwin <jhb@FreeBSD.org> To: Michael Smith <msmith@mass.dis.org> Cc: alpha@freebsd.org, Martin Stanislav <stanisl@uakom.sk> Subject: Re: mylex dac960 controller Message-ID: <XFMail.20020726092238.jhb@FreeBSD.org> In-Reply-To: <200207260743.g6Q7h1Po001249@mass.dis.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 26-Jul-2002 Michael Smith wrote:
>> So I've build new kernel & modules applying the modification and
>> the log message seems to be gone. Don't know if all of the
>> problem the message refferes to neither how much performance
>> if any is gone away following the modification.
>
> Martin; thanks for testing this. If someone on the Alpha list wouldn't
> mind committing the change, I think we'd all be happy.
--- mlx_disk.c 12 Sep 2001 08:37:08 -0000 1.22
+++ mlx_disk.c 26 Jul 2002 13:21:36 -0000
@@ -268,7 +268,11 @@
*/
s1 = sc->mlxd_controller->mlx_enq2->me_maxblk * MLX_BLKSIZE;
s2 = (sc->mlxd_controller->mlx_enq2->me_max_sg - 1) * PAGE_SIZE;
+#if 1
+ dsk->si_iosize_max = 8 * PAGE_SIZE;
+#else
dsk->si_iosize_max = imin(s1, s2);
+#endif
Mike, should this be #ifdef __alpha__ (is it Alpha only?) or does
it depend on a certain revision of the card?
--
John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020726092238.jhb>
