[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	krw_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2007/11/05 09:01:02

Modified files:
	sys/dev/raidframe: rf_openbsdkintf.c 

Log message:
Fix some cpu_switchto fallout. Reading disklabels to find raid
components was causing some systems to hang. The hangs were due to
tsleep() being called before it was prudent to do so.

Create a startup hook to find the raid components when it is safe to
encounter tsleep() but before root is mounted.

Noticed and fix tested by Josh Grosse (who proved the cpu_switchto
link), merdely@, fkr_(_at_)__(_dot_)_



Visit your host, monkey.org