summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe/rf_paritylog.c
AgeCommit message (Collapse)Author
2019-10-10fix the function pointer and callback mess:christos
- callback functions return 0 and their result is not checked; make them void. - there are two types of callbacks and they used to overload their parameters and the callback structure; separate them into "function" and "value" callbacks. - make the wait function signature consistent.
2019-02-09- Change the allocation macros to be more like function callschristos
- Change sizeof(type) -> sizeof(*variable) - Use macros for the long buffer length allocations - Remove "bit polishing" memsets() -- do them only once - Remove unnecessary casts Thanks to oster@ for finding bugs and testing.
2011-05-11convert parityLogPool.mutex to a kmutex.mrg
2011-05-11convert regionInfo[regionID].mutex to a kmutex.mrg
2011-05-11convert reintMutex to a kmutex.mrg
2011-05-11convert parityLogDiskQueue.mutex to a kmutex/cv.mrg
XXX: some splbio() usage to clean up here
2011-05-10convert RF_CommonLogData_s/RF_ReconMap_s mutex to a kmutex/cv.mrg
2007-03-04Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.christos
2006-04-26un-bitrot some of this code (which is not included by default in kernels),oster
and make it build again. XXX: Paritylogging bits still won't build.
2005-12-11merge ktrace-lwp.christos
2005-02-27nuke trailing whitespaceperry
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-05-22bcopy -> memcpy. Reviewed by Greg Oster.wiz
2001-11-13add RCSIDslukem
2001-10-04Step 2 of the disentanglement. We now look to <dev/raidframe/*> foroster
the stuff that used to live in rf_types.h, rf_raidframe.h, rf_layout.h, rf_netbsd.h, rf_raid.h, rf_decluster,h, and a few other places. Believe it or not, when this is all done, things will be cleaner. No functional changes to RAIDframe.
2000-01-07Nuke: #include "rf_threadid.h".oster
1999-08-13rf_sys.h does not need to be #included in any of these files, and, actually,oster
is no longer needed at all.
1999-02-05Phase 2 of the RAIDframe cleanup. The source is now closer to KNFoster
and is much easier to read. No functionality changes.
1999-01-26RAIDframe cleanup, phase 1. Nuke simulator support, user-land driver,oster
out-dated comments, and other unneeded stuff. This helps prepare for cleaning up the rest of the code, and adding new functionality. No functional changes to the kernel code in this commit.
1998-11-13RAIDframe, version 1.1, from the Parallel Data Laboratory atoster
Carnegie Mellon University. Full RAID implementation, including levels 0, 1, 4, 5, 6, parity logging, and a few other goodies. Ported to NetBSD by Greg Oster.