summaryrefslogtreecommitdiff
path: root/sys/dev/softraid.c
AgeCommit message (Expand)Author
2010-11-06Move raid1 and crypto io to a workq. This is to avoid a potential VOP_Marco Peereboom
2010-10-12Force openings to 1 for devices that can't do tagged i/o, i.e. moreKenneth R Westerback
2010-09-23The only sensible argument for VOP_* calls that take a struct proc pointer isOwain Ainsworth
2010-09-07having a ca_activate function which just returns 1 is wrong on about 8 differ...Theo de Raadt
2010-08-30fix tailq use; ok thibTheo de Raadt
2010-08-30During boot probe walk disklist rather than alldevs. This avoids a raceJoel Sing
2010-07-03explicitly specify flags to malloc and pool_get instead of relying on 0.Ted Unangst
2010-07-02Rename the volume specific flags variable.Joel Sing
2010-07-02Determine the data offset using a variable specified within the softraidJoel Sing
2010-06-28Remove all adapter-specific 'struct scsi_device's. They are never used. FirstKenneth R Westerback
2010-06-15softraid doesnt provide disk cache settings to tweak, mark those ioctls asDavid Gwynne
2010-06-15dont pass the dev_t from the scsi device drivers into the midlayer forDavid Gwynne
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