Subject: CVS commit: src/sys/dev/raidframe
To: None <source-changes@NetBSD.org>
From: Greg Oster <oster@netbsd.org>
List: source-changes
Date: 11/16/2004 16:45:52
Module Name:	src
Committed By:	oster
Date:		Tue Nov 16 16:45:52 UTC 2004

Modified Files:
	src/sys/dev/raidframe: rf_desc.h rf_driver.c rf_driver.h
	    rf_netbsdkintf.c rf_states.c

Log Message:
On an idea from Thor (tls@), do not fail a component if doing so would
render the RAID set completely dead.  Instead, we retry the IO a
maximum of RF_RETRY_THRESHOLD times (currently '5'), and then just
return an IO error if the IO fails.  This should reduce the damage
caused by having multiple disks appear to fail when the culprit is
really something else (power, controllers, etc.)


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 src/sys/dev/raidframe/rf_desc.h
cvs rdiff -r1.104 -r1.105 src/sys/dev/raidframe/rf_driver.c
cvs rdiff -r1.12 -r1.13 src/sys/dev/raidframe/rf_driver.h
cvs rdiff -r1.182 -r1.183 src/sys/dev/raidframe/rf_netbsdkintf.c
cvs rdiff -r1.35 -r1.36 src/sys/dev/raidframe/rf_states.c

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