Subject: CVS commit: src/sys/dev/raidframe
To: None <source-changes@NetBSD.org>
From: Greg Oster <oster@netbsd.org>
List: source-changes
Date: 06/27/2004 03:15:18
Module Name: src
Committed By: oster
Date: Sun Jun 27 03:15:18 UTC 2004
Modified Files:
src/sys/dev/raidframe: rf_driver.c
Log Message:
Address a number of issues:
1) Introduce functions to allocate and free the emergency IO buffers.
2) Make sure we free any allocated emergency buffers in the event that
we bail out during configuration, or when we unconfigure an array.
3) if we run out of memory trying to allocate a given type of buffer,
don't continue to try to allocate more of those buffers.
(Partially addresses PR#25787)
To generate a diff of this commit:
cvs rdiff -r1.102 -r1.103 src/sys/dev/raidframe/rf_driver.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.