summaryrefslogtreecommitdiff
path: root/sys/dev/softraid_raid1.c
AgeCommit message (Expand)Author
2013-03-31Use consistent error handling when validating the number of chunksJoel Sing
2013-03-31More runtime value initialisation functions.Joel Sing
2013-03-31Provide default resource allocation and free functions. Convert allJoel Sing
2013-03-29Properly release ccbs when restarting a work unit.Joel Sing
2013-03-29Decouple wakeups on work unit completion from the type of I/O beingJoel Sing
2013-03-29sd_wu_pending is only decremented when scsi_done() or scsi_io_put() areJoel Sing
2013-03-27Rewrite the work unit handling code in the RAID 1/4/5/6 interrupt handlers.Joel Sing
2013-03-25Factor out the code that is used to recreate work units - one copy of theJoel Sing
2013-03-02sr_alloc_resources() and sr_free_resources() can never be called withoutJoel Sing
2013-01-18Convert RAID1 to new ccb functions.Joel Sing
2013-01-17Restructure the RAID1 I/O path so that we only get a ccb once we areJoel Sing
2013-01-16Consistently call sr_scsi_done instead of scsi_done.Joel Sing
2013-01-16Add a new capability flag to identify disciplines where read failures areJoel Sing
2013-01-16Set resid to zero if the scsi transfer completed without error.Joel Sing
2013-01-16Factor out code used to release ccbs from a workunit.Joel Sing
2013-01-15Always initialise the discipline name, not just when we are doing a create.Joel Sing
2013-01-15Keep a function pointer to the per-discipline I/O interrupt handler in theJoel Sing
2012-10-08Provide a mechanism for the kernel to pass data through to the disciplineJoel Sing
2012-01-22Convert softraid(4) to new bio(4) status interface. This allows bioctl(8)Joel 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-12-25Move chunk state debugging code to a more useful location.Joel Sing
2011-04-05Iopoolification. Testing by marco@.Kenneth R Westerback
2010-11-06Move raid1 and crypto io to a workq. This is to avoid a potential VOP_Marco Peereboom
2010-07-02Determine the data offset using a variable specified within the softraidJoel Sing
2010-07-01make sure that buf's on the stack set the b_bq to NULL.Thordur I. Bjornsson
2010-03-26Add storage for the boot block and boot loader to the softraid metadata.Joel Sing
2010-01-09Zap all setting of ITSDONE in drivers that don't look at it. NobodyKenneth R Westerback
2009-12-15Factor out discipline specific create/assemble code.Joel Sing
2009-12-07Define discipline capabilities using a set of flags.Joel Sing
2009-08-09Switch softraid to vnodes to prevent bad things from happening when usingMarco Peereboom
2009-07-12Clean up debug droppings in sr_raid1_set_vol_state().Joel Sing
2009-07-12Enable hotspare rebuilds for softraid RAID1.Joel Sing
2009-06-24Abort the current rebuild if the rebuild chunk disappears. Whilst here alsoJoel Sing
2009-06-18Add other valid chunk state transitions for RAID 1.Joel Sing
2009-06-02Abuse bio layer a little less by marking fake buffers with B_PHYS.Marco Peereboom
2009-06-02Rebuild can go to degradedMarco Peereboom
2009-06-02marco needs to learn how to do his range checks better, found by ParfaitTheo 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-11Move the discipline initialisation code into discipline specific functions,Joel Sing
2009-04-28Part one of partial bringup volumes. Plenty of rope to kill your dataMarco Peereboom
2008-11-25Add generic sr_scsi_done function that does the spl danceMarco Peereboom
2008-07-19Full rewrite of metadata handling. This fixes power failures and crashesMarco Peereboom
2008-02-05Shave off a few more bytes by moving IO collision detection into a genericMarco Peereboom
2008-02-05Create a generic function to validate IO instead of copying and pastingMarco Peereboom
2008-01-24Create chunk and state transition functions for RAID 0.Marco Peereboom
2008-01-24Bring softraid into the world of 16 byte commands; this allows for > 2TB disksMarco Peereboom
2007-11-27also move softraid raid1 into own file, ok marcoTed Unangst