NetBSD/sys/dev/raidframe
mrg 603098b9b5 implement separate read/write disk statistics:
- disk_unbusy() gets a new parameter to tell the IO direction.
	- struct disk_sysctl gets 4 new members for read/write bytes/transfers.
	when processing hw.diskstats, add the read&write bytes/transfers for
	the old combined stats to attempt to keep backwards compatibility.

unfortunately, due to multiple bugs, this will cause new kernels and old
vmstat/iostat/systat programs to fail.  however, the next time this is
change it will not fail again.

this is just the kernel portion.
2002-11-01 11:31:50 +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 Minor formatting cleanup, and nuke unused stuff. 2002-09-14 18:17:52 +00:00
rf_acctrace.h rf_FlushAccessTraceBuf goes bye-bye. 2002-09-14 18:07:31 +00:00
rf_alloclist.c Nuke 'lockflag', a holdover from the simulation code. Thanks to Simon B. 2002-09-23 03:53:14 +00:00
rf_alloclist.h Nuke 'lockflag', a holdover from the simulation code. Thanks to Simon B. 2002-09-23 03:53:14 +00:00
rf_archs.h Introduce RF_DEBUG_MAP, and use it to ignore more rarely used code. 2002-09-19 23:23:19 +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 Poolify callback descriptor allocation. While some of the underlying 2002-10-25 03:14:37 +00:00
rf_callback.h
rf_chaindecluster.c bytesPerStripeUnit is set, but never used. Thanks to Simon B. for pointing 2002-09-23 02:40:07 +00:00
rf_chaindecluster.h
rf_copyback.c Cast the RF_DEBUG_RECON net a little wider. 2002-09-17 03:30:33 +00:00
rf_copyback.h
rf_cvscan.c CheckCvscanState never prints the file and line number. Thanks to Simon B. 2002-09-23 04:02:29 +00:00
rf_cvscan.h rf_CvscanConfigure() is a NOP. Nuke it. Thanks Krister! 2002-09-21 00:37:14 +00:00
rf_dag.h Nuke a couple of unneeded #defines. 2002-09-23 23:53:54 +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 rf_CreateMirrorPartitionReadDAG is only used for chain declustering and 2002-09-21 00:40:18 +00:00
rf_dagffrd.h
rf_dagffwr.c Various "Fwd" versions of DAG creation functions arn't actually used anywhere! 2002-09-21 00:50:10 +00:00
rf_dagffwr.h
rf_dagflags.h
rf_dagfuncs.c Shuffle #ifdefs to include stuff only if we're doing parity logging 2002-09-21 00:52:49 +00:00
rf_dagfuncs.h
rf_dagutils.c Remove unneeded variables and lame assignments. Thanks Simon B.! 2002-09-23 02:49:14 +00:00
rf_dagutils.h Minor cleanup/reformatting. 2002-09-21 14:47:07 +00:00
rf_debugMem.c Those of us who might be interested in debugging internal memory usage 2002-09-16 23:40:57 +00:00
rf_debugMem.h Those of us who might be interested in debugging internal memory usage 2002-09-16 23:40:57 +00:00
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 The declaration for rf_GetSpareTableFromDaemon might be supplied in 2002-09-23 03:27:17 +00:00
rf_decluster.h
rf_declusterPQ.c bytesPerStripeUnit is set, but never used. Thanks to Simon B. for pointing 2002-09-23 02:40:07 +00:00
rf_declusterPQ.h
rf_desc.h Nuke 'numPending' from the RF_RaidAccessDesc_s structure, and minor cleanup. 2002-09-15 19:25:07 +00:00
rf_diskqueue.c Use RF_DEBUG_DISKQUEUE to eliminate more debuggin printfs that the 2002-09-17 02:55:12 +00:00
rf_diskqueue.h As part of the effort to get RAIDframe playing nicely with LOCKDEBUG, 2002-10-04 20:05:14 +00:00
rf_disks.c Better protect hot-spare adding, and make it LOCKDEBUG friendly. 2002-10-22 03:15:28 +00:00
rf_disks.h
rf_driver.c Better protect hot-spare adding, and make it LOCKDEBUG friendly. 2002-10-22 03:15:28 +00:00
rf_driver.h The 'reconDesc' argument to rf_SignalQuiescenceLock() is a holdover from 2002-09-23 04:14:20 +00:00
rf_engine.c Clean up #includes. Group function prototypes. Fix more 80-column lossage 2002-10-04 22:56:54 +00:00
rf_engine.h
rf_etimer.h
rf_evenodd.c bytesPerStripeUnit is set, but never used. Thanks to Simon B. for pointing 2002-09-23 02:40:07 +00:00
rf_evenodd.h
rf_evenodd_dagfuncs.c
rf_evenodd_dagfuncs.h
rf_evenodd_dags.c
rf_evenodd_dags.h
rf_fifo.c Introduce and use RF_DEBUG_QUEUE (for debugging the various queueing 2002-09-17 03:43:34 +00:00
rf_fifo.h
rf_freelist.h bye-bye to RF_FREELIST_GET_INIT_ARG and RF_FREELIST_FREE_CLEAN_ARG 2002-10-11 02:15:57 +00:00
rf_general.h Everyone and their dog was using RF_ERRORMSG3 to print out the same 2002-09-14 17:53:57 +00:00
rf_geniq.c
rf_hist.h
rf_interdecluster.c bytesPerStripeUnit is set, but never used. Thanks to Simon B. for pointing 2002-09-23 02:40:07 +00:00
rf_interdecluster.h
rf_invertq.c
rf_invertq.h
rf_kintf.h
rf_layout.c dataBytesPerStripe is set, but never used. *poof* 2002-09-23 02:35:24 +00:00
rf_layout.h bytesPerStripeUnit is set, but never used. Thanks to Simon B. for pointing 2002-09-23 02:40:07 +00:00
rf_map.c Cleanup the comment formatting a bit. 2002-09-24 00:12:55 +00:00
rf_map.h rf_FreeAccessStripeMapComponent() goes too. Thanks Krister! 2002-09-21 01:14:22 +00:00
rf_mcpair.c Everyone and their dog was using RF_ERRORMSG3 to print out the same 2002-09-14 17:53:57 +00:00
rf_mcpair.h
rf_netbsd.h
rf_netbsdkintf.c implement separate read/write disk statistics: 2002-11-01 11:31:50 +00:00
rf_nwayxor.c
rf_nwayxor.h
rf_options.c
rf_options.h
rf_optnames.h One less debug option. 2002-08-04 03:33:04 +00:00
rf_paritylog.c Everyone and their dog was using RF_ERRORMSG3 to print out the same 2002-09-14 17:53:57 +00:00
rf_paritylog.h
rf_paritylogDiskMgr.c Protect rf_PrintDAGList() in a few more places. Thanks to Monroe Williams 2002-09-07 23:11:46 +00:00
rf_paritylogDiskMgr.h
rf_paritylogging.c bytesPerStripeUnit is set, but never used. Thanks to Simon B. for pointing 2002-09-23 02:40:07 +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 Nuke some ancient debugging code. 2002-09-24 00:53:58 +00:00
rf_parityscan.h
rf_pq.c
rf_pq.h
rf_pqdeg.c
rf_pqdeg.h
rf_pqdegdags.c
rf_pqdegdags.h
rf_psstatus.c poolify the allocation of Parity Stripe Status structures. 2002-10-11 02:10:08 +00:00
rf_psstatus.h
rf_raid.h Better protect hot-spare adding, and make it LOCKDEBUG friendly. 2002-10-22 03:15:28 +00:00
rf_raid0.c bytesPerStripeUnit is set, but never used. Thanks to Simon B. for pointing 2002-09-23 02:40:07 +00:00
rf_raid0.h
rf_raid1.c Another 'unblockNode' goes *poof*. Also nuke an instance of an 2002-09-23 03:38:51 +00:00
rf_raid1.h
rf_raid4.c bytesPerStripeUnit is set, but never used. Thanks to Simon B. for pointing 2002-09-23 02:40:07 +00:00
rf_raid4.h
rf_raid5.c bytesPerStripeUnit is set, but never used. Thanks to Simon B. for pointing 2002-09-23 02:40:07 +00:00
rf_raid5.h
rf_raid5_rotatedspare.c bytesPerStripeUnit is set, but never used. Thanks to Simon B. for pointing 2002-09-23 02:40:07 +00:00
rf_raid5_rotatedspare.h
rf_reconbuffer.c rf_ReleaseBufferWaiter(s) were not being used! Thanks Krister! 2002-09-21 01:21:19 +00:00
rf_reconbuffer.h rf_ReleaseBufferWaiter(s) were not being used! Thanks Krister! 2002-09-21 01:21:19 +00:00
rf_reconmap.c poolify the RF_ReconMapListElem_t's used by rf_ReconMapUpdate(). 2002-10-06 18:49:12 +00:00
rf_reconmap.h poolify the RF_ReconMapListElem_t's used by rf_ReconMapUpdate(). 2002-10-06 18:49:12 +00:00
rf_reconstruct.c Improve and/or re-arrange a number of locks. While much of the locking is 2002-10-18 02:46:36 +00:00
rf_reconstruct.h rf_RegisterReconDoneProc() isn't needed. 2002-09-21 01:25:10 +00:00
rf_reconutil.c Minor comment and 80-column fixes. No functional changes. 2002-10-07 04:05:55 +00:00
rf_reconutil.h
rf_revent.c Everyone and their dog was using RF_ERRORMSG3 to print out the same 2002-09-14 17:53:57 +00:00
rf_revent.h General cleanup of a mess. No functional changes. 2002-09-15 21:04:35 +00:00
rf_shutdown.c Hide more stuff inside RF_DEBUG_SHUTDOWN. Add a prototype for 2002-09-23 03:42:50 +00:00
rf_shutdown.h
rf_sstf.c Introduce and use RF_DEBUG_QUEUE (for debugging the various queueing 2002-09-17 03:43:34 +00:00
rf_sstf.h
rf_states.c The 'reconDesc' argument to rf_SignalQuiescenceLock() is a holdover from 2002-09-23 04:14:20 +00:00
rf_states.h
rf_stripelocks.c lockTable is not needed for AddToWaitersQueue(). Thanks to Simon B. 2002-09-23 04:34:46 +00:00
rf_stripelocks.h
rf_strutils.c
rf_threadstuff.c We're going to need rf_lkmgr_mutex_destroy() sooner than I thought. 2002-10-02 15:18:12 +00:00
rf_threadstuff.h Create a thread creation macro that make it easier to name the DAG process. 2002-10-02 21:48:00 +00:00
rf_utils.c rf_gcd, rf_free_2d_array, rf_make_1d_array, and rf_free_1d_array are 2002-09-21 00:47:59 +00:00
rf_utils.h