[PATCH] Fix for 3ware driver
Mike Tancsa
mike at sentex.net
Tue May 4 11:17:34 PDT 2004
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 at 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
More information about the freebsd-stable
mailing list