From owner-freebsd-alpha Fri Jul 26 6:22:33 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F36737B400 for ; Fri, 26 Jul 2002 06:22:31 -0700 (PDT) Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF0C343E31 for ; Fri, 26 Jul 2002 06:22:30 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 16906 invoked from network); 26 Jul 2002 13:22:30 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 26 Jul 2002 13:22:30 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.12.5/8.12.5) with ESMTP id g6QDMTuR042506; Fri, 26 Jul 2002 09:22:29 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200207260743.g6Q7h1Po001249@mass.dis.org> Date: Fri, 26 Jul 2002 09:22:38 -0400 (EDT) From: John Baldwin To: Michael Smith Subject: Re: mylex dac960 controller Cc: alpha@freebsd.org, Martin Stanislav Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 <>< 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