summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid_raid1.c
AgeCommit message (Expand)AuthorFilesLines
2016-04-12No need to rescan chunks in each discipline to find appropriatekrw1-10/+1
2016-04-04Enable creation of softraid volumes using disks with non-512 bytekrw1-1/+10
2015-07-21A few more daddr_t fixes. Rename 'phys_off' variables to 'offset'krw1-5/+5
2015-07-19Remove unneeded #include <disklabel.h>.krw1-2/+1
2015-07-19Stop adding and subtracting data offset. Just keep to chunk relativekrw1-4/+1
2015-01-27remove #include <sys/workq.h>. it wont exist anymore soon.dlg1-2/+1
2014-11-18move arc4random prototype to systm.h. more appropriate for most codetedu1-2/+1
2014-09-14remove uneeded proc.h includesjsg1-2/+1
2014-07-12essentially mechanical conversion of softraid rebuild fromblambert1-2/+2
2014-01-22Switch metadata saves from the system workq to the system taskq.jsing1-2/+4
2014-01-21Order the volume state transitions by state value.jsing1-10/+10
2013-11-01Sprinkle (long long) casts where %lld is being used to print daddr_tkrw1-3/+3
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughderaadt1-2/+2
2013-05-21Provide a function that handles the scheduling of work units. Thisjsing1-22/+4
2013-05-21Use a state to indicate that a work unit should only be constructed and notjsing1-3/+3
2013-04-21Convert RAID1 to the new work unit completion functions and genericjsing1-71/+26
2013-03-31Use consistent error handling when validating the number of chunksjsing1-3/+3
2013-03-31More runtime value initialisation functions.jsing1-4/+8
2013-03-31Provide default resource allocation and free functions. Convert alljsing1-38/+1
2013-03-29Properly release ccbs when restarting a work unit.jsing1-3/+2
2013-03-29Decouple wakeups on work unit completion from the type of I/O beingjsing1-9/+6
2013-03-29sd_wu_pending is only decremented when scsi_done() or scsi_io_put() arejsing1-4/+1
2013-03-27Rewrite the work unit handling code in the RAID 1/4/5/6 interrupt handlers.jsing1-67/+50
2013-03-25Factor out the code that is used to recreate work units - one copy of thejsing1-24/+2
2013-03-02sr_alloc_resources() and sr_free_resources() can never be called withoutjsing1-7/+1
2013-01-18Convert RAID1 to new ccb functions.jsing1-69/+8
2013-01-17Restructure the RAID1 I/O path so that we only get a ccb once we arejsing1-49/+48
2013-01-16Consistently call sr_scsi_done instead of scsi_done.jsing1-3/+3
2013-01-16Add a new capability flag to identify disciplines where read failures arejsing1-2/+2
2013-01-16Set resid to zero if the scsi transfer completed without error.jsing1-2/+1
2013-01-16Factor out code used to release ccbs from a workunit.jsing1-9/+2
2013-01-15Always initialise the discipline name, not just when we are doing a create.jsing1-3/+2
2013-01-15Keep a function pointer to the per-discipline I/O interrupt handler in thejsing1-1/+2
2012-10-08Provide a mechanism for the kernel to pass data through to the disciplinejsing1-3/+3
2012-01-22Convert softraid(4) to new bio(4) status interface. This allows bioctl(8)jsing1-2/+4
2011-12-26Provide default set chunk state and set volume state functions whichjsing1-1/+3
2011-12-25Initialise discipline function pointers with defaults and only overridejsing1-11/+4
2011-12-25Move chunk state debugging code to a more useful location.jsing1-7/+8
2011-04-05Iopoolification. Testing by marco@.krw1-5/+1
2010-11-06Move raid1 and crypto io to a workq. This is to avoid a potential VOP_marco1-1/+8
2010-07-02Determine the data offset using a variable specified within the softraidjsing1-2/+2
2010-07-01make sure that buf's on the stack set the b_bq to NULL.thib1-1/+2
2010-03-26Add storage for the boot block and boot loader to the softraid metadata.jsing1-2/+2
2010-01-09Zap all setting of ITSDONE in drivers that don't look at it. Nobodykrw1-3/+1
2009-12-15Factor out discipline specific create/assemble code.jsing1-2/+33
2009-12-07Define discipline capabilities using a set of flags.jsing1-2/+3
2009-08-09Switch softraid to vnodes to prevent bad things from happening when usingmarco1-27/+31
2009-07-12Clean up debug droppings in sr_raid1_set_vol_state().jsing1-5/+9
2009-07-12Enable hotspare rebuilds for softraid RAID1.jsing1-1/+5
2009-06-24Abort the current rebuild if the rebuild chunk disappears. Whilst here alsojsing1-1/+4