summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
AgeCommit message (Collapse)Author
2002-09-23Clobber basically unused 'pda', and 'unblockNode' and 'wrUnBlock'.oster
Thanks to Simon B.
2002-09-23struct proc *p was only assigned to. Thanks Simon B.oster
2002-09-23Make this build w/ DEBUG.oster
2002-09-23The declaration for rf_GetSpareTableFromDaemon might be supplied inoster
a header file, but that doesn't help here if said header is not pulled in! (Hi Simon :) )
2002-09-23make it compile with DIAGNOSTICitojun
2002-09-23Don't need declarations for rf_copyback_in_progress andsimonb
rf_GetSpareTableFromDaemon() - these are already supplied in various header files.
2002-09-23Ooops.. should have included this 'row' with the last change.oster
2002-09-23'row' was defined and set, but never used. *poof* Thanks to Simon B.oster
2002-09-23Neither force nor retcode are used. *poof* Thanks to Simon B.oster
2002-09-23Remove unneeded variables and lame assignments. Thanks Simon B.!oster
2002-09-23bytesPerStripeUnit is set, but never used. Thanks to Simon B. for pointingoster
this out.
2002-09-23dataBytesPerStripe is set, but never used. *poof*oster
2002-09-22RAIDGETBUF and RAIDPUTBUF were #defines that were only used inoster
one place. Simplify things by removing them, and clean up more unneeded instances of 'unit' and 'rs'.
2002-09-22rf_flags wasn't being used. *poof*oster
2002-09-22A little housecleaning to nuke stuff that was unused.oster
2002-09-21Minor cleanup/reformatting.oster
2002-09-21#if 0 more stuff, per Krister's list. Thanks Krister!oster
(RAIDframe is now at a shade under 174K in GENERIC on i386)
2002-09-21#if 0 out one other function, and shuffle DEBUG code. Actuallyoster
reclaims another 14K!?!?!! Thanks Krister!
2002-09-21rf_RegisterReconDoneProc() isn't needed.oster
This is the last of the 'easy' ones that Krister made me aware of. Total savings on i386 GENERIC kernel: 13151 bytes RAIDframe in GENERIC is now at: 179033 Thanks again Krister!
2002-09-21rf_ReleaseBufferWaiter(s) were not being used! Thanks Krister!oster
2002-09-21rf_FreePhysDiskAddr is only needed by paritylogging.oster
rf_NumFailedDataUnitsInStripe is only needed by PQ, RAID6 and EVENODD. rf_PrintAccessStripeMap is only needed for RF_DEBUG_MAP. Thanks Krister!
2002-09-21rf_FreeAccessStripeMapComponent() goes too. Thanks Krister!oster
2002-09-21Nuke rf_AllocAccessStripeMapComponent(). Thanks Krister!oster
2002-09-21Garbage collect some old mountroothook stuff. Thanks Krister!oster
2002-09-21#if 0 an unused stub. Thanks Krister!oster
2002-09-21Protect more stuff that's only used by the declustering code.oster
Thanks Krister!
2002-09-21rf_UnbootRaidframe isn't used. rf_print_assert_panic_message isoster
only needed if RAID_DIAGNOSTIC is defined. Thanks Krister!
2002-09-21rf_MakePropListEntry isn't used anywhere, so nuke it. Thanks Krister!oster
2002-09-21Shuffle #ifdefs to include stuff only if we're doing parity loggingoster
stuff. Thanks Krister!
2002-09-21Various "Fwd" versions of DAG creation functions arn't actually used anywhere!oster
Big thanks to Krister for noticing! (Saves another 10K on i386)
2002-09-21rf_gcd, rf_free_2d_array, rf_make_1d_array, and rf_free_1d_array areoster
only used by the declustering bits. Thanks Krister!
2002-09-21rf_CreateMirrorPartitionReadDAG is only used for chain declustering andoster
interdecluster. Thanks Krister!
2002-09-21rf_CvscanConfigure() is a NOP. Nuke it. Thanks Krister!oster
2002-09-19Another couple of functions that arn't used unless one is debugging RAIDframe.oster
2002-09-19Introduce RF_DEBUG_MAP, and use it to ignore more rarely used code.oster
2002-09-19Introduce and use RF_DEBUG_PSS, and save a few more bytes.oster
2002-09-19One signal will do, thanks.oster
2002-09-19Nuke an obsolete comment.oster
2002-09-19Introduce and use RF_DEBUG_STATES to save a bit more kernel space.oster
2002-09-19Nuke old (and now incorrect) comment.oster
2002-09-17RF_DEBUG_ACCESS and RF_DEBUG_QUIESCE make things a little smaller.oster
2002-09-17Introduce and use RF_DEBUG_QUEUE (for debugging the various queueingoster
types available in RAIDframe).
2002-09-17Cast the RF_DEBUG_RECON net a little wider.oster
2002-09-17Rename RF_DEBUG_RECONBUFFER to RF_DEBUG_RECON in order to facilitateoster
disabling other stuff without having to introduce another #define.
2002-09-17Were these functions actually called by anything, I might have consideredoster
keeping them...
2002-09-17Use RF_DEBUG_DISKQUEUE to eliminate more debuggin printfs that theoster
vast majority of the world will never see much less care about.
2002-09-16Those of us who might be interested in debugging internal memory usageoster
of RAIDframe can use RF_DEBUG_MEM. I suspsect the rest of the world would rather use that 14K of kernel memory for something else.
2002-09-16Assign a value to recon_buffer_size in a different way so that theoster
compiler doesn't complain when we change what RF_Free looks like.
2002-09-16Cleanup some comments.oster
2002-09-16'char *arrived' was such a nice variable. Too bad all we ever didoster
with it was malloc/free space for it. *poof*