Subject: CVS commit: syssrc/sys/dev/raidframe
To: None <source-changes@netbsd.org>
From: Greg Oster <oster@netbsd.org>
List: source-changes
Date: 10/04/2002 23:05:16
Module Name:	syssrc
Committed By:	oster
Date:		Fri Oct  4 20:05:15 UTC 2002

Modified Files:
	syssrc/sys/dev/raidframe: rf_diskqueue.h rf_driver.c rf_engine.c
	    rf_netbsdkintf.c rf_raid.h

Log Message:
As part of the effort to get RAIDframe playing nicely with LOCKDEBUG,
rework how completed requests are handled.  In particular, instead of
doing all sorts of work and locking in interrupt context, completed
requests are now queued.  A new kernel thread (rf_RaidIOThread) now
handles calling rf_DiskIOComplete() and (req->CompleteFunc)() for each
completed request.  There is still work to be done to make RAIDframe
LOCKDEBUG friendly, but this change is a huge step forward.

Reviewed by (and many thanks to): thorpej


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 syssrc/sys/dev/raidframe/rf_diskqueue.h
cvs rdiff -r1.63 -r1.64 syssrc/sys/dev/raidframe/rf_driver.c
cvs rdiff -r1.21 -r1.22 syssrc/sys/dev/raidframe/rf_engine.c
cvs rdiff -r1.142 -r1.143 syssrc/sys/dev/raidframe/rf_netbsdkintf.c
cvs rdiff -r1.14 -r1.15 syssrc/sys/dev/raidframe/rf_raid.h

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