summaryrefslogtreecommitdiff
path: root/sys/dev/softraid_raid0.c
AgeCommit message (Expand)Author
2020-03-25Add missing %s in sr_error, otherwise 'sd->sd_name' is not printed.tobhe
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 adding and subtracting data offset. Just keep to chunk relativeKenneth R Westerback
2014-11-18move arc4random prototype to systm.h. more appropriate for most codeTed Unangst
2014-09-14remove uneeded proc.h includesJonathan Gray
2013-11-21Don't cast int64_t variables to (long long) when using %lld.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-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 a default discipline interrupt handling function and migrate all ofJoel Sing
2013-03-02sr_alloc_resources() and sr_free_resources() can never be called withoutJoel Sing
2013-03-02Unbreak softraid compilation with debug enabled.Joel Sing
2013-01-18Convert softraid RAID 0 to new workunit completion functionsJoel Sing
2013-01-18Clean up and rework workunit completion for RAID 0. Ensure that we removeJoel Sing
2013-01-17Convert softraid RAID 0 to the new ccb functions.Joel Sing
2013-01-16Set resid to zero if the scsi transfer completed without error.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-04-05Iopoolification. Testing by marco@.Kenneth R Westerback
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-06-02Abuse bio layer a little less by marking fake buffers with B_PHYS.Marco Peereboom
2009-06-02marco needs to learn how to do his range checks better, found by ParfaitTheo de Raadt
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-10-04Remove bogus code from the error path in sr_raid0_rw(); ok marco@Miod Vallat
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-26Fix some debug printsMarco 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