summaryrefslogtreecommitdiff
path: root/sys/dev/softraid_raid6.c
AgeCommit message (Expand)Author
2016-04-12No need to rescan chunks in each discipline to find appropriateKenneth R Westerback
2016-04-04Enable creation of softraid volumes using disks with non-512 byteKenneth R Westerback
2015-07-21A few more daddr_t fixes. Rename 'phys_off' variables to 'offset'Kenneth R Westerback
2015-07-19Remove unneeded #include <disklabel.h>.Kenneth R Westerback
2015-07-19Stop passing daddr_t parameters for lengths. Use long since that's the typeKenneth R Westerback
2015-07-19Stop adding and subtracting data offset. Just keep to chunk relativeKenneth R Westerback
2015-05-29Nuke annoying whitespace nits to shrink some future diffs.Kenneth R Westerback
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-01-22Move sr_dump from the RAID5 code into shared code. Rename it toJoel Sing
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
2014-01-18Move the block get/put routines into the common code, instead of havingJoel Sing
2013-11-21Cast daddr_t variable to (long long) even for %llx!Kenneth R Westerback
2013-11-21Change a bunch of daddr_t variables that don't (obviously) containKenneth R Westerback
2013-11-05Fix RAID levels 0, 4, 5, and 6 with partitions larger than 2TB.Reyk Floeter
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-21Fix missing work unit state initialisations.Joel Sing
2013-05-21Use a state to indicate that a work unit should only be constructed and notJoel Sing
2013-04-27Convert RAID 6 to new work unit completion routines.Joel Sing
2013-04-26Add a SR_WUF_DISCIPLINE flag that identifies work units that have resultedJoel Sing
2013-04-23Convert RAID6 to new ccb handling.Joel Sing
2013-04-23Do not pass SR_CCBF_FREEBUF unless we are passing an already allocatedJoel Sing
2013-04-23Rename ccb_flag to ccb_flags.Joel Sing
2013-03-31Use consistent error handling when validating the number of chunksJoel Sing
2013-03-31Provide default resource allocation and free functions. Convert allJoel Sing
2013-03-31Pull the initialisation of runtime values out into a separate initJoel Sing
2013-03-30Provide wrappers for scsi_io_get() and scsi_io_put(), that also includeJoel Sing
2013-03-29Properly release ccbs when restarting a work unit.Joel Sing
2013-03-29Convert RAID 4/5/6 to new ccb completion code.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-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-12-31Spell `calculation' correctly.Miod Vallat
2012-10-08Provide a mechanism for the kernel to pass data through to the disciplineJoel Sing
2011-12-25Initialise discipline function pointers with defaults and only overrideJoel Sing
2011-04-21Speedup XORP/XORQ operations in RAID6, do 32-bits at a timeJordan Hargrave
2011-04-08Remove unused code/arrayJordan Hargrave
2011-04-08Fix raidp/raid6 to work with new iopool code, needed to swap wu'sJordan Hargrave