summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
AgeCommit message (Collapse)Author
2002-09-16rf_CheckFloatingRbufCount() is only really useful when debugging theoster
reconstruct buffer stuff. #if it out in the general case.
2002-09-16Cleanup some printf's, and disable some (debugging) output.oster
2002-09-15Release our hold on raidPtr if we're going to sleep.oster
2002-09-15Nuke unlockingOp -- it was only used for the userland version of theoster
code.
2002-09-15Remove a couple of unneeded structure members.oster
2002-09-15'buf2' is unused. Nuke it.oster
2002-09-15General cleanup of a mess. No functional changes.oster
2002-09-15Nuke 'numPending' from the RF_RaidAccessDesc_s structure, and minor cleanup.oster
2002-09-14Add a local #define, and disable some debugging stuff.oster
2002-09-14Minor formatting cleanup, and nuke unused stuff.oster
2002-09-14rf_FlushAccessTraceBuf goes bye-bye.oster
2002-09-14Everyone and their dog was using RF_ERRORMSG3 to print out the sameoster
sort of error message, over and over again, in different files. Rather than having the same text repeated in multiple .o files, create a couple of little functions to do the printing, and save a bundle of space. Also improves readability of code.
2002-09-14Add two more debugging #defines: RF_DEBUG_RECONBUFFER and RF_DEBUG_VERIFYPARITY.oster
Use them to reduce kernel bloat by a little more.
2002-09-11Amazingly enough, nothing is actually using the *_bxor3() functions.oster
#if 0 them.
2002-09-11Use the newly added RF_DEBUG_STRIPELOCK to effectively remove a bunchoster
of stuff that most of the world will never want to use.
2002-09-11Add a new debugging #define: RF_DEBUG_STRIPELOCKoster
2002-09-11Nuke unneeded #include "rf_debugprint.h"oster
2002-09-09Disallow 'reconstruct-in-place' on a component that has failedoster
and has already been reconstructed to a hot spare.
2002-09-09On a 'raidctl -f' or 'raidctl -F', close the failed component.oster
Thanks to Grant and Matt (phone) for poking me about this.
2002-09-07Protect rf_PrintDAGList() in a few more places. Thanks to Monroe Williamsoster
on current-users for the patch.
2002-09-06Merge the gehenna-devsw branch into the trunk.gehenna
This merge changes the device switch tables from static array to dynamically generated by config(8). - All device switches is defined as a constant structure in device drivers. - The new grammer ``device-major'' is introduced to ``files''. device-major <prefix> char <num> [block <num>] [<rules>] - All device major numbers must be listed up in port dependent majors.<arch> by using this grammer. - Added the new naming convention. The name of the device switch must be <prefix>_[bc]devsw for auto-generation of device switch tables. - The backward compatibility of loading block/character device switch by LKM framework is broken. This is necessary to convert from block/character device major to device name in runtime and vice versa. - The restriction to assign device major by LKM is completely removed. We don't need to reserve LKM entries for dynamic loading of device switch. - In compile time, device major numbers list is packed into the kernel and the LKM framework will refer it to assign device major number dynamically.
2002-08-08make 'configureMutex' be a lockmgr lock instead of a simple lock.oster
The result is MUCH fewer complaints with kernels compiled with LOCKDEBUG.
2002-08-08Initial kick at some functions to provide lockmgr lock supportoster
instead of only simplelock support.
2002-08-08RF_LOCK_MUTEX()/RF_UNLOCK_MUTEX() often cover more code than theyoster
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-07Let's not bother poking CD's to see if they might have RAID setsoster
on them.
2002-08-04One less debug option.oster
2002-08-04Nuke some unneeded #includes.oster
2002-08-04Remove a couple of options that are obsolete.oster
2002-08-04Let's just say that the way things were stored in the array for theoster
debugging buffer made it much less useful than it appears. More memory for other things now.
2002-08-03Improve error messages.oster
2002-08-03Nuke function prototypes for previously nuked functions.oster
2002-08-03Nuke two more functions that arn't used anywhere and are only contributingoster
to kernel bloat.
2002-08-03Cleanup configuration and auto-configuration information printing.oster
Thanks to mrg for the suggestions.
2002-08-03Backout some "new stuff" that accidentally got included on the last commit.oster
2002-08-02- AuxFunc is no longer used.oster
- cleanup function prototypes in rf_diskqueue.h
2002-08-02It appears that nothing is using rf_CreateDiskQueueDataFull. Make it evenoster
harder to do so by removing it.
2002-08-02Bye-bye to the memchunk files.oster
2002-08-02rf_memchunk.c is no longer needed.oster
2002-08-02- remove "#include "rf_memchunk.h"oster
- nuke the call to rf_ConfigureMemChunk() from rf_driver.c
2002-08-02Nuke stuff dealing with the experimental memChunk code. It's unused, andoster
currently only contributing to bloat.
2002-08-02- remove memChunkEnable as an arg to InitHdrNodeoster
2002-08-02Unused code go bye-bye.oster
2002-07-24RAIDframe doesn't need to be so chatty on autoconfigure. Leave itoster
a chatty if DEBUG is set... (for now..)
2002-07-24Don't print the value of protectedSectors all the time.oster
2002-07-21Rename bufq_init() to bufq_alloc().hannken
Add bufq_free() to remove a buffer queue. Avoid MALLOC while holding a spinlock. From Chuck Silvers.
2002-07-20Convert to new device buffer queue interface.hannken
2002-07-14Oops... one more #include can disappear.oster
2002-07-14Nuke unneeded #include.oster
2002-07-14Remove incorrect comment.oster
2002-07-13Nuke a redundant wakeup().oster