summaryrefslogtreecommitdiff
path: root/sys/dev/softraid.c
AgeCommit message (Expand)Author
2010-05-21Make compile with NBIO = 0Marco Peereboom
2010-05-20New scsi code seems to be stable. Pluck previously identifiedKenneth R Westerback
2010-05-18dont let sys/ioctl.h imply that you get the ioctls in dkio.h. thisDavid Gwynne
2010-03-28Completely overhaul optional metadata handling, allowing for multipleJoel Sing
2010-03-28Avoid potential null dereferences in ioctl paths.Joel Sing
2010-03-28Replace a scsi_done() call with sr_scsi_done() which fixes a missingJoel Sing
2010-03-27Correctly initialise variable to prevent free without malloc in error path.Joel Sing
2010-03-26Add an ioctl to softraid to allow the boot block and boot loader to beJoel Sing
2010-03-26Add storage for the boot block and boot loader to the softraid metadata.Joel Sing
2010-03-23Change the scsi_cmd function member of scsi_adapter from int toKenneth R Westerback
2010-02-13Force chunks into correct order once metadata is attached. This preventsJoel Sing
2010-02-13Unbreak automatic rebuilds from hotspares.Joel Sing
2010-02-13Removed unused variable sml_vn.Joel Sing
2010-02-13Pass the number of chunks to sr_meta_attach() rather than recalculating.Joel Sing
2010-02-08Use character raw device to read disklabel during bootprobe, as allKenneth R Westerback
2010-01-09Zap all setting of ITSDONE in drivers that don't look at it. NobodyKenneth R Westerback
2009-12-31Add support for key disks. This allows a crypto volume to be constructedJoel Sing
2009-12-15Allow auto assemble flag to be toggled for disciplines that support it.Joel Sing
2009-12-15Factor out discipline specific create/assemble code.Joel Sing
2009-12-15Explicitly lock the vnode when deleting a volume. This avoids a potentialJoel Sing
2009-12-07Cleanup discipline initialisation.Joel Sing
2009-12-07Define discipline capabilities using a set of flags.Joel Sing
2009-11-24Allow the passphrase to be changed on softraid crypto volumes. Ensure thatJoel Sing
2009-11-23Improve discipline specific ioctl framework and attach to softraid ioctl.Joel Sing
2009-11-22Add a framework for discipline specific ioctls.Joel Sing
2009-11-22Ensure that chunks are not already in use when creating a volume.Joel Sing
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