NetBSD/sys/dev/raidframe
oster 813fbd6152 RF_LOCK_MUTEX()/RF_UNLOCK_MUTEX() often cover more code than they
needs to.  In particular, they often surround calls to malloc().
Re-work the locking on most macros to avoid this problem.

XXX: On MP systems, simultaneous calls to the GET macros when a
freelist is empty may cause that freelist to grow more quickly than
before.  Given that the "increment" value of these lists are fairly
small, this shouldn't be too much of an issue.
2002-08-08 02:53:01 +00:00
..
Makefile
files.raidframe rf_memchunk.c is no longer needed. 2002-08-02 03:47:48 +00:00
raidframeio.h
raidframevar.h
rf_acctrace.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_acctrace.h
rf_alloclist.c Cleanup some whitespace that indent got wrong a long time ago. 2001-11-20 02:37:29 +00:00
rf_alloclist.h
rf_archs.h Most folks won't need the DAG printing and verification routines. 2002-07-13 20:14:33 +00:00
rf_aselect.c - remove memChunkEnable as an arg to InitHdrNode 2002-08-02 01:15:22 +00:00
rf_aselect.h
rf_callback.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_callback.h
rf_chaindecluster.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_chaindecluster.h
rf_copyback.c don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
rf_copyback.h
rf_cvscan.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_cvscan.h
rf_dag.h - remove "#include "rf_memchunk.h" 2002-08-02 03:42:33 +00:00
rf_dagdegrd.c - remove "#include "rf_memchunk.h" 2002-08-02 03:42:33 +00:00
rf_dagdegrd.h
rf_dagdegwr.c - remove "#include "rf_memchunk.h" 2002-08-02 03:42:33 +00:00
rf_dagdegwr.h
rf_dagffrd.c - remove "#include "rf_memchunk.h" 2002-08-02 03:42:33 +00:00
rf_dagffrd.h
rf_dagffwr.c - remove "#include "rf_memchunk.h" 2002-08-02 03:42:33 +00:00
rf_dagffwr.h
rf_dagflags.h
rf_dagfuncs.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_dagfuncs.h
rf_dagutils.c Nuke stuff dealing with the experimental memChunk code. It's unused, and 2002-08-02 03:32:56 +00:00
rf_dagutils.h
rf_debugMem.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_debugMem.h
rf_debugprint.c Let's just say that the way things were stored in the array for the 2002-08-04 03:22:07 +00:00
rf_debugprint.h Let's just say that the way things were stored in the array for the 2002-08-04 03:22:07 +00:00
rf_decluster.c bcopy -> memcpy. Reviewed by Greg Oster. 2002-05-22 15:40:47 +00:00
rf_decluster.h
rf_declusterPQ.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_declusterPQ.h
rf_desc.h
rf_diskqueue.c - AuxFunc is no longer used. 2002-08-02 04:01:51 +00:00
rf_diskqueue.h - AuxFunc is no longer used. 2002-08-02 04:01:51 +00:00
rf_disks.c don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
rf_disks.h
rf_driver.c Let's just say that the way things were stored in the array for the 2002-08-04 03:22:07 +00:00
rf_driver.h #if 0 rf_SetReconfiguredMode() since it is unused now, but may be 2002-01-07 01:58:03 +00:00
rf_engine.c Remove incorrect comment. 2002-07-14 03:04:02 +00:00
rf_engine.h
rf_etimer.h
rf_evenodd.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_evenodd.h
rf_evenodd_dagfuncs.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_evenodd_dagfuncs.h
rf_evenodd_dags.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_evenodd_dags.h
rf_fifo.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_fifo.h
rf_freelist.h RF_LOCK_MUTEX()/RF_UNLOCK_MUTEX() often cover more code than they 2002-08-08 02:53:01 +00:00
rf_general.h
rf_geniq.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_hist.h
rf_interdecluster.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_interdecluster.h
rf_invertq.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_invertq.h
rf_kintf.h
rf_layout.c Cleanup configuration and auto-configuration information printing. 2002-08-03 00:55:54 +00:00
rf_layout.h
rf_map.c Nuke two more functions that arn't used anywhere and are only contributing 2002-08-03 01:06:48 +00:00
rf_map.h Nuke function prototypes for previously nuked functions. 2002-08-03 01:07:53 +00:00
rf_mcpair.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_mcpair.h
rf_netbsd.h
rf_netbsdkintf.c Let's not bother poking CD's to see if they might have RAID sets 2002-08-07 20:45:39 +00:00
rf_nwayxor.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_nwayxor.h
rf_options.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_options.h
rf_optnames.h One less debug option. 2002-08-04 03:33:04 +00:00
rf_paritylog.c bcopy -> memcpy. Reviewed by Greg Oster. 2002-05-22 15:40:47 +00:00
rf_paritylog.h
rf_paritylogDiskMgr.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_paritylogDiskMgr.h
rf_paritylogging.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_paritylogging.h
rf_parityloggingdags.c - remove "#include "rf_memchunk.h" 2002-08-02 03:42:33 +00:00
rf_parityloggingdags.h
rf_parityscan.c Most folks won't need the DAG printing and verification routines. 2002-07-13 20:14:33 +00:00
rf_parityscan.h
rf_pq.c bcopy -> memcpy. Reviewed by Greg Oster. 2002-05-22 15:40:47 +00:00
rf_pq.h
rf_pqdeg.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_pqdeg.h
rf_pqdegdags.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_pqdegdags.h
rf_psstatus.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_psstatus.h
rf_raid.h
rf_raid0.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_raid0.h
rf_raid1.c Most folks won't need the DAG printing and verification routines. 2002-07-13 20:14:33 +00:00
rf_raid1.h
rf_raid4.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_raid4.h
rf_raid5.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_raid5.h
rf_raid5_rotatedspare.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_raid5_rotatedspare.h
rf_reconbuffer.c Move a bunch of debugging stuff to be only used if DEBUG is turned on. 2002-01-09 03:10:19 +00:00
rf_reconbuffer.h
rf_reconmap.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_reconmap.h
rf_reconstruct.c Nuke a redundant wakeup(). 2002-07-13 20:54:57 +00:00
rf_reconstruct.h
rf_reconutil.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_reconutil.h
rf_revent.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_revent.h
rf_shutdown.c Oops... one more #include can disappear. 2002-07-14 03:20:12 +00:00
rf_shutdown.h
rf_sstf.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_sstf.h
rf_states.c Most folks won't need the DAG printing and verification routines. 2002-07-13 20:14:33 +00:00
rf_states.h
rf_stripelocks.c Bah.. Not sure how those ";"'s got missed :-( 2002-01-19 22:20:48 +00:00
rf_stripelocks.h
rf_strutils.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_threadstuff.c add RCSIDs 2001-11-13 07:11:12 +00:00
rf_threadstuff.h
rf_utils.c Cleanup unneeded #includes. 2002-07-13 16:53:44 +00:00
rf_utils.h