summaryrefslogtreecommitdiff
path: root/sys/dev/softraid.c
AgeCommit message (Expand)Author
2012-10-08Change handling for volumes that are marked no-auto assemble. If we bootedJoel Sing
2012-10-08bzero the right variable.Joel Sing
2012-01-30Prevent softraid from being used with devices that do not have a sectorJoel Sing
2012-01-28Only pass bio ioctls through to the softraid bio ioctl handler. Rename theJoel Sing
2012-01-22Convert softraid(4) to new bio(4) status interface. This allows bioctl(8)Joel Sing
2012-01-22Disable the softraid disk attach hook on detach.Joel Sing
2012-01-22Ensure that the sc_lock is held before the status functions are called.Joel Sing
2012-01-21Split sr_uuid_print() into two functions - one that formats and one thatJoel Sing
2012-01-20Add bio(4) status interface structs and utility functions to softraid(4).Joel Sing
2012-01-17Check the metadata level against the assembly level before proceeding withJoel Sing
2012-01-17Add missing ioctl DNPRINTFs and nuke some rogue commas.Joel Sing
2012-01-11Move softraid root mapping to later in the boot process - this will allowJoel Sing
2012-01-11Make sr_boot_chunk and sr_boot_volume accessible from userland. Add aJoel Sing
2011-12-31Implement a concatenating discipline for softraid.Joel Sing
2011-12-28Cleanup the metadata initialisation process - have sr_meta_init()Joel Sing
2011-12-28Avoid the use of an invalid disklabel by setting a DK_LABELVALID flagJoel Sing
2011-12-26Provide default set chunk state and set volume state functions whichJoel Sing
2011-12-25Initialise discipline function pointers with defaults and only overrideJoel Sing
2011-11-13When initiating a rebuild update the DUID for the chunk so thatJoel Sing
2011-11-13Cleanup rebuild initialisation code. In particular, reconstruct the chunkJoel Sing
2011-11-11Remove a bogus check which dereferences an uninitialised pointer.Joel Sing
2011-11-11When rebuilding check the size of the replacement chunk against theJoel Sing
2011-11-11Remove unused sv_sensor_valid variable.Joel Sing
2011-11-11When setting up a bootable softraid volume, do not try to save the bootJoel Sing
2011-11-08Typo. BIOC_SSOFFLINE is the ioctl command. Pass BIOC_SDOFFLINE toKenneth R Westerback
2011-09-19If the rootduid matches a softraid chunk of a bootable softraid volume,Joel Sing
2011-09-19When installboot is run on a softraid volume, add boot optional metadataJoel Sing
2011-09-19Cleanup sr_ioctl_createraid(). There are three clear cases - (1) corruptJoel Sing
2011-09-18Add support for variable length optional metadata in softraid(4). ThisJoel Sing
2011-09-18Rename the optional metadata handler function and factor out the optionalJoel Sing
2011-08-08Fix a formating bug that caused a bad print on big endian arches.Marco Peereboom
2011-07-17Backout a bunch of my SCSI commits from c2k11. At least one of theseMatthew Dempsky
2011-07-08First batch of converting SCSI HBAs from setting saa_targets andMatthew Dempsky
2011-07-07Fix the LBA offset calculation for the last block in a rebuild, if thereJoel Sing
2011-07-07Make sr_shutdown() a general function and use this from sr_detach() toJoel Sing
2011-07-06When checking if a chunk is in use, do not match on NODEV.Joel Sing
2011-07-06Use a single shutdown hook for the softraid controller instead ofJoel Sing
2011-07-06Actually make sr_detach() work. At this stage we never detach softraid(4),Joel Sing
2011-07-06Retain a reference to the registered sensor task so that we can unregisterJoel Sing
2011-07-06Move all volume shutdown code into sr_shutdown_discipline() and use a flagJoel Sing
2011-07-04Fix debugging prints in softraid(4) so that it can compile withMatthew Dempsky
2011-07-03Call config_detach() on the child scsibus in sr_detach().Matthew Dempsky
2011-07-02Cleanup the softraid boot probe code. Rename the rather poorly namedJoel Sing
2011-06-24Avoid a possible null dereference.Joel Sing
2011-06-23Simplify softraid(4) to behave like other HBAs by using a singleMatthew Dempsky
2011-06-20Fix softraid(4) to set xs->cmd = &xs->cmdstore rather than pointing itMatthew Dempsky
2011-05-03Move SLIST initializations earlier so that failure handling paths canMatthew Dempsky
2011-04-29tiny whitespace fixesDavid Gwynne
2011-04-29only handle vanilla scsi inquiry requests, reject VPD requests since theyreDavid Gwynne
2011-04-14Ignore scsi start stop instead of trying to be clever. A softraidMarco Peereboom