Subject: CVS commit: src/sys/dev/raidframe
To: None <source-changes@NetBSD.org>
From: Greg Oster <oster@netbsd.org>
List: source-changes
Date: 03/18/2004 16:54:54
Module Name:	src
Committed By:	oster
Date:		Thu Mar 18 16:54:54 UTC 2004

Modified Files:
	src/sys/dev/raidframe: rf_psstatus.c rf_psstatus.h rf_raid1.c
	    rf_reconbuffer.c rf_reconmap.c rf_reconmap.h rf_reconstruct.c
	    rf_reconstruct.h rf_reconutil.c

Log Message:
Re-work the locking mechanisms for reconstruct and PSS structures
such that we don't actually hold a simplelock while we are doing
a pool_get(), but that we still effectively protecting critical code.

This should fix all of the outstanding LOCKDEBUG warnings related to
rebuilding RAID sets.


To generate a diff of this commit:
cvs rdiff -r1.27 -r1.28 src/sys/dev/raidframe/rf_psstatus.c
cvs rdiff -r1.8 -r1.9 src/sys/dev/raidframe/rf_psstatus.h \
    src/sys/dev/raidframe/rf_reconmap.h
cvs rdiff -r1.23 -r1.24 src/sys/dev/raidframe/rf_raid1.c \
    src/sys/dev/raidframe/rf_reconmap.c
cvs rdiff -r1.20 -r1.21 src/sys/dev/raidframe/rf_reconbuffer.c
cvs rdiff -r1.75 -r1.76 src/sys/dev/raidframe/rf_reconstruct.c
cvs rdiff -r1.16 -r1.17 src/sys/dev/raidframe/rf_reconstruct.h
cvs rdiff -r1.22 -r1.23 src/sys/dev/raidframe/rf_reconutil.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.