cvs commit: src/sys/contrib/opensolaris/uts/common/fs/zfs vdev.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Apr 24 18:51:23 UTC 2007


On Tue, Apr 24, 2007 at 10:53:30AM -0700, John-Mark Gurney wrote:
> Pawel Jakub Dawidek wrote this message on Tue, Apr 24, 2007 at 16:45 +0000:
> > pjd         2007-04-24 16:45:42 UTC
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     sys/contrib/opensolaris/uts/common/fs/zfs vdev.c 
> >   Log:
> >   MFp4: We have stronger 'lock already initialized' check now, so we can
> >   reduce diff against the vendor by removing bzero of this mutex.
> 
> Is it just me, or what prevents this from occuring again if the
> "correct" data appears in the union again?  Yeh, now with something
> like 13bits of checking, it's a lot less likely, but would you ever
> want your computer to possibly crash?

FreeBSD uses only one bit currently... For production kernel you may
want to turn off INVARIANTS.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20070424/7466694f/attachment.pgp


More information about the cvs-src mailing list