Subject: CVS commit: src/sys/dev/raidframe
To: None <source-changes@NetBSD.org>
From: Greg Oster <oster@netbsd.org>
List: source-changes
Date: 03/03/2004 00:45:20
Module Name:	src
Committed By:	oster
Date:		Wed Mar  3 00:45:20 UTC 2004

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

Log Message:
- cleanup memory allocation in rf_AllocPSStatus()
- change function signature of rf_LookupRUStatus().  The last argument
is now a pointer to a new PSS, in case one is needed.  Rather than
having rf_LookupRUStatus() allocate a new PSS, we pre-allocate one
beforehand, where necessary, just in case.
- change callers of rf_lookupRUStatus() to deal with the new way of
calling rf_lookupRUStatus().

[no improvement or worsening of parity rebuild/initialization performance.]


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 src/sys/dev/raidframe/rf_psstatus.c
cvs rdiff -r1.5 -r1.6 src/sys/dev/raidframe/rf_psstatus.h
cvs rdiff -r1.20 -r1.21 src/sys/dev/raidframe/rf_raid1.c
cvs rdiff -r1.18 -r1.19 src/sys/dev/raidframe/rf_reconbuffer.c
cvs rdiff -r1.67 -r1.68 src/sys/dev/raidframe/rf_reconstruct.c

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