| From | Sent On | Attachments |
|---|---|---|
| Alexey Koptsevich | May 14, 2001 11:05 am | |
| Mike Smith | May 14, 2001 12:01 pm | |
| Mike Smith | May 14, 2001 4:29 pm |
| Subject: | Re: 3ware patch | |
|---|---|---|
| From: | Mike Smith (msm...@freebsd.org) | |
| Date: | May 14, 2001 4:29:15 pm | |
| List: | org.freebsd.freebsd-scsi | |
Hello,
3ware has released a patch for both firmware and software, Linux and Windows, for RAID5 mode of their controllers. Is FreeBSD driver believed to be free of errors?
I've just exchanged email with my new technical contact at 3ware, and the problem as it's been explained to me will not affect FreeBSD.
Here's the relevant sections from the mail describing the issue:
----8<----
RAID5 writes can result in corrupted parity. The data itself is not corrupted -- only the parity. The current Raid5 firmware performs _TWO_ PCI accesses -- one for data, one for parity calculation. Thus if physical memory has changed before the second PCI access has completed, parity will be corrupted. This was a very bad oversight and has been corrected in the 7000, which only performs one PCI access.
Linux ext2 FS performs a "fire and forget" on metadata. (Last write is always the best write) These writes are asynchronous and never wait for a completion.
----8<----
Since the FreeBSD block driver abstraction guarantees that data will not be changed out from under the driver, there is no opportunity for this limitation of the RAID implementation to cause problems.
Note also that I've been informed that the 7000 series controllers will not require the double-read behaviour, which should improve their RAID5 performance considerably.
-- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E
To Unsubscribe: send mail to majo...@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message





