summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
AgeCommit message (Collapse)Author
2000-04-17Revert last change (the last change was not necessarily desirable, andoster
had some other minor side-affects that were troublesome).
2000-04-16Don't allow configuration where the specified SectPerSU may result in IO largeroster
than MAXPHYS being sent to underlying devices. Addresses PR#9868. Will change if/when MAXPHYS goes bye-bye.
2000-03-31Minor cleanup of unneeded verbosity.oster
2000-03-31Print out the 'root' status of a RAID set during autoconfiguration.oster
2000-03-30Nuke 'register' from some function prototypes.oster
2000-03-30Remove register declarations.augustss
2000-03-27cleanup function prototypes.oster
2000-03-27Shuffle some prototypes to a more appropriate location.oster
2000-03-26Add bits for eventual support of deleteing components and movingoster
hot-spares into the main set.
2000-03-25Nuke a function prototype that shouldn't be here.oster
2000-03-22Fix up some autoconfigure messages. In particular, don't try printingoster
the value of an uninitialized variable. Noted by Luke Mewburn.
2000-03-20Just return "100% done" when asked about reconstruction progress onoster
a RAID0 set.
2000-03-13Fix doubled 'the's in comments.soren
2000-03-07Cleanup a couple of function declarations. No functional changes.oster
2000-03-07Create a new rf_close_component() to handle vnode operations for closingoster
components. Teach rf_UnconfigureVnodes() how to use it, and tell the copyback and reconstruction code about it too.
2000-03-07Move rf_UnconfigureVnodes to rf_netbsdkintf.c where it will be more at home.oster
Add prototype to rf_kintf.h, and nuke old prototypes from rf_disks.c and rf_driver.c .
2000-03-07rf_ protect the component label print routine, and make it more easilyoster
available to the rest of RAIDframe.
2000-03-07Nuke unused code.oster
2000-03-04Umm... don't allow attempts to configure the same RAID device multiple times.oster
The check was there, but the return() was missing :(
2000-03-04Reorganize some comments.oster
2000-03-04Garbage collect the (already disabled) "random" queue type.oster
2000-03-04Nuke an unneeded #define.oster
2000-03-03Use the common disk allocation code, rather doing things the old way.oster
2000-03-03Minor formatting cleanup.oster
2000-03-03More minor cleanup.oster
2000-03-03Minor cleanup. No functional changes.oster
2000-02-29Oops.. Need to note the parity status when we unconfigure.oster
Noted by Aaron J. Grier. (Thanks!)
2000-02-27Nuke some debugging output that got left in by mistake.oster
2000-02-27Only mark the components as CLEAN if it's the last thing we're doing.oster
Marking them CLEAN earlier is (currently) asking for trouble. (XXX This could have been done more elegantly.)
2000-02-26Defopt 'RAID_AUTOCONFIG'. Adding 'options RAID_AUTOCONFIG' turns onoster
the component auto-detection and auto-configuration of RAID sets. Also, add "#options RAID_AUTOCONFIG" to the GENERIC config files.
2000-02-25Minor cleanups. Remove extra debugging printouts.oster
2000-02-25- ignore the mod_counter when checking to see if a component fits with theoster
rest of an autoconfig set. - minor cleanups
2000-02-25- ignore components whose mod_counter values are too low.oster
- noting the mod_counter for autoconfigured sets would be a win too.
2000-02-25When we close autoconfigured components, we need to note that theyoster
are no longer in 'autoconfigured' status.
2000-02-25- cleanup raidinit()oster
- cleanup rf_mountroot_hooks() - various other cleanups.
2000-02-25Be *slightly* more consistent about the use of num and numraid in raidattach().oster
2000-02-25Fix a (slightly) bogus status message.oster
2000-02-24Deal with unconfiguring components in the autoconfigure case.oster
2000-02-24Oops... Missed commmitting this last night. Thanks to Matthias Scheleroster
for letting me know. (Add the DiskQueueSW pointer)
2000-02-24Make sure we close auto-configured components appropriately whenoster
attempting a rebuild-in-place.
2000-02-24Garbage collect some unused stuff. Include rf_kintf.h for aoster
function prototype.
2000-02-24- record the pointer to the DiskQueueSW so we can use that whenoster
we hot-add a spare. - use the above info when adding a spare.
2000-02-24Now that we have the information available, use the general maxOutstandingoster
value for the RAID set, rather than looking at Queue[0][0] (which may not exist).
2000-02-24- mod_counter needs to get incremented more often.oster
- use raid_init_component_labels instead of hand-rolling a component_label. (missed doing this for the rf_used_spare case when updating component labels). - fix serial number initialization in raid_init_component_labels
2000-02-24- make sure we note the parity status in the autoconfig case.oster
- also, make sure we grab the serial number from the component labels when we autoconfig.
2000-02-23Be more aggressive about updating component labels in the eventoster
of a real component failure (or a simulated failure): - add 'numNewFailures' to keep track of the number of disk failures since mod_counter was last updated for each component label. - make sure we call rf_update_component_labels() upon any component failure, real or simulated.
2000-02-23blockSize for the component label is already set correctly here.oster
2000-02-23- cleanup of more component label codeoster
- make current default label values available everywhere - make sure numBlocks and blockSize in component labels get initialized for all component labels - check for component size to be smaller than or equal to the partition size when autoconfiguring
2000-02-23Do a better job of (re)initializing the component labels afteroster
a reconstruct or a copyback.
2000-02-23Make a note of autoconfigured components.oster