summaryrefslogtreecommitdiff
path: root/sys/dev/softraid.c
AgeCommit message (Expand)Author
2009-11-15Fix memory leak in error case. Found by Parfait.Joel Sing
2009-10-29When probing devices at boot, compare against the full device driver nameJoel Sing
2009-10-28Remove FWRITE from closes that aren't opened with FWRITE.Marco Peereboom
2009-10-13Get rid of devact enum, substitute it with an int and coresponding defines.Paul Irofti
2009-09-21Fix use before init on wu.Marco Peereboom
2009-09-03Check the return value of copyin().Joel Sing
2009-09-03Don't call VOP_CLOSE() with a null pointer, if the VOP_OPEN() call failed.Joel Sing
2009-08-17the null check makes more sense when it's done before derefMartynas Venckus
2009-08-09Switch softraid to vnodes to prevent bad things from happening when usingMarco Peereboom
2009-07-31Factor out code for checking if a chunk is already in use.Joel Sing
2009-07-23Adding disabled framework for RAID6Jordan Hargrave
2009-07-12Assert copyright.Joel Sing
2009-07-12Fix rebuild percentage so that it ranges from 0-99% rather than 1-100%.Joel Sing
2009-07-12Add support for global hotspares to softraid.Joel Sing
2009-07-12If devices have roamed, complain once then update the metadata, just likeJoel Sing
2009-07-11Ensure that we hold the appropriate lock before callingJoel Sing
2009-07-09Be sure we don't hit a NULL deref. Pointed out byMarcus Glocker
2009-06-26Overhaul sr_boot_assembly(). The original code had a number of problems,Joel Sing
2009-06-24Reset the rebuild counter when initiating a rebuild.Joel Sing
2009-06-24Abort the current rebuild if the rebuild chunk disappears. Whilst here alsoJoel Sing
2009-06-23Make sure that the metadata level matches the requested assembly level whenJoel Sing
2009-06-23Fix some more whitespace issues.Joel Sing
2009-06-19Either jordan or jsing left some debug prints behind. tsk tsk.Marco Peereboom
2009-06-18Check the set state status rather than always assuming a rebuild has beenJoel Sing
2009-06-18Fix some typos and whitespace issues.Joel Sing
2009-06-17Enabled EXPERIMENTAL RAID4/5 disciplineJordan Hargrave
2009-06-17Make openings variable instead of maxwu; needed for more exotic raid sets.Marco Peereboom
2009-06-17Force Raid0/4/5 volume size to multiple of stripe sizeJordan Hargrave
2009-06-12KNF and wrap at 80 columns.Joel Sing
2009-06-12Allow chunks marked as offline to be used for rebuild (ie. once disk hasJoel Sing
2009-06-11Create a hotplug callback mechanism.Marco Peereboom
2009-06-10TypoMarco Peereboom
2009-06-10Add framework for raid 4 & 5 so that we can work in tree.Marco Peereboom
2009-06-03Slay the running out of wu during rebuild dragon and some cleanupMarco Peereboom
2009-06-03whitespace. "Sure" marco@Chris Kuethe
2009-06-03Oops need to kill the XXX comment that we are not enabling softraid rebuildMarco Peereboom
2009-06-03Start using the shiny new function pointer to determine if we have diskMarco Peereboom
2009-06-03Make sure we don't stomp on a RAID partition that is already in use.Marco Peereboom
2009-06-02Abuse bio layer a little less by marking fake buffers with B_PHYS.Marco Peereboom
2009-06-02spaceMarco Peereboom
2009-06-02Make rebuilds restartable over reboots.Marco Peereboom
2009-06-02Fix some minor format string problems found in a maze of false positivesTheo de Raadt
2009-06-02Add an identifier that tells us if we can rebuild this discipline.Marco Peereboom
2009-06-02First bits for rebuild. Disabled for now.Marco Peereboom
2009-05-30Bring up raid sets that have missing memebers.Marco Peereboom
2009-05-11When probing for softraid chunks, ensure that a chunk has a valid metadataJoel Sing
2009-05-11Move the discipline initialisation code into discipline specific functions,Joel Sing
2009-04-29Use NO_CCB when we run out of work units. This way we don't have to careMarco Peereboom
2009-04-28Move discipline pointer init into its own functionMarco Peereboom
2009-04-28Part one of partial bringup volumes. Plenty of rope to kill your dataMarco Peereboom