summaryrefslogtreecommitdiff
path: root/sys/dev/softraid_raid1.c
AgeCommit message (Expand)Author
2015-01-27remove #include <sys/workq.h>. it wont exist anymore soon.David Gwynne
2014-11-18move arc4random prototype to systm.h. more appropriate for most codeTed Unangst
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-07-12essentially mechanical conversion of softraid rebuild fromBret Lambert
2014-01-22Switch metadata saves from the system workq to the system taskq.Joel Sing
2014-01-21Order the volume state transitions by state value.Joel Sing
2013-11-01Sprinkle (long long) casts where %lld is being used to print daddr_tKenneth R Westerback
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
2013-05-21Provide a function that handles the scheduling of work units. ThisJoel Sing
2013-05-21Use a state to indicate that a work unit should only be constructed and notJoel Sing
2013-04-21Convert RAID1 to the new work unit completion functions and genericJoel Sing
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