Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2001 16:29:37 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        Alexey Koptsevich <kopts@astro.ioffe.rssi.ru>
Cc:        scsi@FreeBSD.org
Subject:   Re: 3ware patch 
Message-ID:  <200105142329.f4ENTcO01438@mass.dis.org>
In-Reply-To: Your message of "Mon, 14 May 2001 22:05:22 %2B0400." <Pine.BSF.4.21.0105142045090.83725-100000@astro.ioffe.rssi.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help
> =

> Hello,
> =

> 3ware has released a patch for both firmware and software, Linux and
> Windows, for RAID5 mode of their controllers. Is FreeBSD driver believe=
d
> 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.=A0 The data itself is not
corrupted -- only the parity.=A0 The current Raid5 firmware performs _TWO=
_
PCI accesses -- one for data, one for parity calculation.=A0 Thus if
physical memory has changed before the second PCI access has completed,
parity will be corrupted.=A0 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.=A0 (Last write is=

always the best write)=A0 These writes are asynchronous and never wait fo=
r 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.

-- =

=2E.. 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 majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105142329.f4ENTcO01438>