From owner-freebsd-stable@FreeBSD.ORG Tue May 4 11:17:34 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A790F16A4CF; Tue, 4 May 2004 11:17:34 -0700 (PDT) Received: from smtp3b.sentex.ca (smtp3b.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E292B43D3F; Tue, 4 May 2004 11:17:33 -0700 (PDT) (envelope-from mike@sentex.net) Received: from avscan2.sentex.ca (avscan2.sentex.ca [199.212.134.19]) by smtp3b.sentex.ca (8.12.11/8.12.11) with ESMTP id i44IHXDM076901; Tue, 4 May 2004 14:17:33 -0400 (EDT) (envelope-from mike@sentex.net) Received: from localhost (localhost [127.0.0.1]) by avscan2.sentex.ca (Postfix) with ESMTP id 1B67759D23; Tue, 4 May 2004 14:17:33 -0400 (EDT) Received: from avscan2.sentex.ca ([127.0.0.1]) by localhost (avscan2.sentex.ca [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 43909-06; Tue, 4 May 2004 14:17:33 -0400 (EDT) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by avscan2.sentex.ca (Postfix) with ESMTP id 011FB59D0F; Tue, 4 May 2004 14:17:33 -0400 (EDT) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.12.11/8.12.11) with ESMTP id i44IHV9X094658; Tue, 4 May 2004 14:17:31 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.0.3.0.0.20040504133732.054ccfd8@64.7.153.2> X-Sender: mdtpop@64.7.153.2 (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.0.3.0 Date: Tue, 04 May 2004 14:19:33 -0400 To: Scott Long , freebsd-stable@freebsd.org From: Mike Tancsa In-Reply-To: <40965292.2040608@freebsd.org> References: <40965292.2040608@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new X-Virus-Scanned: by amavisd-new at (avscan2) sentex.ca cc: Vinod Kashyap Subject: Re: [PATCH] Fix for 3ware driver X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2004 18:17:34 -0000 At 10:09 AM 03/05/2004, Scott Long wrote: >All, > >Release testing has shown several recent problems with the 3ware (twe) >driver. Attached is a patch that appears to fix these problems. I >would appreciate as much testing as possible before I commit so that I >can be sure that all of the problems are caught and fixed correctly. >The patch applies to both RELENG_4_10 and RELENG_4 branches. Symptoms >of the problems included i/o hangs under heavy load and filesystem >corruption. I was never able to recreate the problem, however I did test the patches on a couple of machines. Note, in the past, a LONG time ago (back when msmith@freebsd.org wrote the drivers) the following with just 10 could hang the twe system where all disk I/O would be blocking in some race condition. #!/bin/sh i=1 while [ $i -le 50 ] do i=`expr $i + 1` bonnie -s 100 -d /usr/ & done Seems to get through it no problem, and disk io is consistent, despite 50 processes blocking. Also did make buildworld make -j2 buildworld make -j3 buildworld ... all the way to -j11 make -j11 buildworld > /var/log/build.out all with seemingly no problems. I tested on a Monitor version: ME7X 1.01.00.038 Firmware version: FE7S 1.05.00.063 BIOS version: BE7X 1.08.00.048 PCB version: Rev5 Achip version: 3.20 Pchip version: 1.30-66 Model: 8006-2LP Unit count: 1 and a Monitor version: ME6X 1.01.00.028 Firmware version: FE6X 1.02.28.053 BIOS version: BE6X 1.07.02.005 PCB version: Rev2 Achip version: V4.40 Pchip version: V5.70 Model: 6400 Unit count: 1 both running 4.10-PRERELEASE Also, would not these same issues crop up in -HEAD ? ---Mike