summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe/rf_diskqueue.h
AgeCommit message (Collapse)Author
2011-05-05convert the diskqueue mutex into a kmutexmrg
2009-03-23Rework/simplify the disk queuing code. A bunch of this was stilloster
holdovers from the simulator and would never be seen/used in-kernel.
2007-03-04Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.christos
2005-12-11merge ktrace-lwp.christos
2005-02-27nuke trailing whitespaceperry
2005-02-12The 'next' argument to rf_CreateDiskQueueData is always NULL. Sinceoster
there is no particular reason to pass an extra NULL argument, turf it, and initialize p->next to NULL within the function.
2005-02-12Add a 'waitflag' argument to rf_CreateDiskQueueData() and use it tooster
determine if we are willing to wait for memory to come from the diskqueuedata (dqd) and bufpool pools. Cleanup the mess related to code calling rf_CreateDiskQueueData() with different expectations (and/or blatent disregard) of what might happen if there were insufficient pool resources.
2005-02-05CreateDiskQueueData() doesn't need to use void * for raidPtr.oster
RF_Raid_t is well known in RF, and there's no reason not to use it here.
2004-03-04Cleanup one more leftover 'row' variable. Cleanup function prototypesoster
in rf_diskqueue.h
2004-02-24occured -> occurred. From Peter Postma.wiz
2004-01-01Nuke a bunch of unused variables:oster
- node_queue_cond - quiescent_cond - eq_cond - desc->cond - desc->head - diskqueue->numWaiting Nuke rf_print_unable_to_init_cond(). Nuke rf_TerminateDiskQueues prototype from rf_diskqueue.h.
2003-12-29[Having received a definite lack of strenuous objection, a small amountoster
of strenuous agreement, and some general agreement, this commit is going ahead because it's now starting to block some other changes I wish to make.] Remove most of the support for the concept of "rows" from RAIDframe. While the "row" interface has been exported to the world, RAIDframe internals have really only supported a single row, even though they have feigned support of multiple rows. Nothing changes in configuration land -- config files still need to specify a single row, etc. All auto-config structures remain fully forward/backwards compatible. The only visible difference to the average user should be a reduction in the size of a GENERIC kernel (i386) by 4.5K. For those of us trolling through RAIDframe kernel code, a lot of the driver configuration code has become a LOT easier to read.
2003-02-09constify somejdolecek
2002-10-04As part of the effort to get RAIDframe playing nicely with LOCKDEBUG,oster
rework how completed requests are handled. In particular, instead of doing all sorts of work and locking in interrupt context, completed requests are now queued. A new kernel thread (rf_RaidIOThread) now handles calling rf_DiskIOComplete() and (req->CompleteFunc)() for each completed request. There is still work to be done to make RAIDframe LOCKDEBUG friendly, but this change is a huge step forward. Reviewed by (and many thanks to): thorpej
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-08-02- AuxFunc is no longer used.oster
- cleanup function prototypes in rf_diskqueue.h
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-02-13Get recent changes into the tree:oster
- make component_label variables more consistent (==> clabel) - re-work incorrect component configuration code - re-work disk configuration code - cleanup initial configuration of raidPtr info - add auto-detection of components and RAID sets (Disabled, for now) - allow / on RAID sets (Disabled, for now) - rename "config_disk_queue" to "rf_ConfigureDiskQueue" and properly prototype in rf_diskqueue.h - protect some headers with #if _KERNEL (XXX this needs to be fixed properly) and cleanup header formatting. - expand the component labels (yes, they should be backward/forward compatible) - other bits and pieces (some function names are still bogus, and will get changed soon)
2000-01-08Make raidPtr a 'RF_Raid_t *' like it's supposed to be.oster
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.