Module Name: src Committed By: mrg Date: Wed May 11 18:13:12 UTC 2011
Modified Files: src/sys/dev/raidframe: rf_copyback.c rf_dagutils.c rf_disks.c rf_driver.c rf_engine.c rf_map.c rf_netbsdkintf.c rf_paritylog.h rf_raid.h rf_reconstruct.c rf_reconutil.c rf_states.c rf_threadstuff.h Log Message: convert the main raidPtr mutex to a kmutex, and add a couple of cv's to cover the old sleep/wakeup points for adding_hot_spare and waitForReconCond. convert all remaining simple_lock's to kmutexes (they're not used or compiled right now... even with all options enabled) and remove the support for them. this leaves just a pair of tsleep()/wakeup() calls using old scheduling APIs. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/dev/raidframe/rf_copyback.c cvs rdiff -u -r1.52 -r1.53 src/sys/dev/raidframe/rf_dagutils.c cvs rdiff -u -r1.78 -r1.79 src/sys/dev/raidframe/rf_disks.c cvs rdiff -u -r1.127 -r1.128 src/sys/dev/raidframe/rf_driver.c cvs rdiff -u -r1.45 -r1.46 src/sys/dev/raidframe/rf_engine.c cvs rdiff -u -r1.44 -r1.45 src/sys/dev/raidframe/rf_map.c cvs rdiff -u -r1.290 -r1.291 src/sys/dev/raidframe/rf_netbsdkintf.c cvs rdiff -u -r1.11 -r1.12 src/sys/dev/raidframe/rf_paritylog.h cvs rdiff -u -r1.42 -r1.43 src/sys/dev/raidframe/rf_raid.h cvs rdiff -u -r1.112 -r1.113 src/sys/dev/raidframe/rf_reconstruct.c cvs rdiff -u -r1.33 -r1.34 src/sys/dev/raidframe/rf_reconutil.c cvs rdiff -u -r1.48 -r1.49 src/sys/dev/raidframe/rf_states.c cvs rdiff -u -r1.32 -r1.33 src/sys/dev/raidframe/rf_threadstuff.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.