Module Name: src Committed By: oster Date: Fri Jul 23 00:26:20 UTC 2021
Modified Files: src/sys/dev/raidframe: rf_diskqueue.c rf_netbsd.h Log Message: getiobuf() can return NULL if there are no IO buffers available. RAIDframe can't deal with that, so create a dedicated pool of buffers to use for IO. PR_WAITOK is fine here, as we pre-allocate more than we need to guarantee IO can make progress. Tuning of pool still to come. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/dev/raidframe/rf_diskqueue.c cvs rdiff -u -r1.35 -r1.36 src/sys/dev/raidframe/rf_netbsd.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.