summaryrefslogtreecommitdiff
path: root/sys/dev/softraid.c
AgeCommit message (Expand)Author
2014-11-18move arc4random prototype to systm.h. more appropriate for most codeTed Unangst
2014-10-30muliply to get correct size for free. reported by kspillnerTed Unangst
2014-10-30add some sizes to free()Ted Unangst
2014-10-07remove preliminary AOE (ata over ethernet) support. not finished afterTed Unangst
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-09-13Replace all queue *_END macro calls except CIRCLEQ_END with NULL.Doug Hogan
2014-08-01When attempting to rebuild a softraid volume, use the actual data offsetJoel Sing
2014-07-20spacing glitchesTheo de Raadt
2014-07-20Support hibernating to softraid crypto volumes.Mike Larkin
2014-07-13Some reallocarray() use; review Jean-Philippe Ouellet, patrick keshishianTheo de Raadt
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-12essentially mechanical conversion of softraid rebuild fromBret Lambert
2014-07-10Stop using a shutdown hook for softraid(4) and explicitly shutdownMartin Pieuchot
2014-01-22Add some debug messages to the rebuild process and fix a bogus comment.Joel Sing
2014-01-22Add a debug flag for rebuild.Joel Sing
2014-01-22Make rebuild a discipline specific function pointer. For now, this defaultsJoel Sing
2014-01-22The sr_rebuild function does not actually do the rebuild, it only startsJoel Sing
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-21Actually use the correct TAILQ field.Joel Sing
2014-01-21Allow for variable sized work units.Joel Sing
2014-01-21Use a TAILQ for tracking work units, rather than an array. This will allowJoel Sing
2014-01-21Stop bzeroing the work unit when it is initialised. Rather, only initialiseJoel Sing
2014-01-20Convert the softraid work unit workqs to taskqs.Joel Sing
2014-01-20Replace dedicated swu_fake variable with a work unit flag.Joel Sing
2014-01-19Assert that a workunit has ccbs if it is being scheduled. Otherwise weJoel Sing
2014-01-18Move the block get/put routines into the common code, instead of havingJoel Sing
2014-01-18Rename softraid RAIDP to softraid RAID5.Joel Sing
2014-01-18Remove the RAID 4 discipline from softraid. Anyone sensible would use RAIDJoel Sing
2014-01-05On some architectures you can get away with using an uninitialised mutex;Joel Sing
2013-11-19Print daddr_t's with %lld, size_t's with %zu, int's with %d andKenneth R Westerback
2013-11-04substantial namespace cleanup. Might go a little bit too far, but weTheo de Raadt
2013-11-01Sprinkle (long long) casts where %lld is being used to print daddr_tKenneth R Westerback
2013-07-19Don't use uninitialized variable when a simple 0 will do.Kenneth R Westerback
2013-07-01When an I/O error occurs on a softraid chunk, only take it offline if theJoel Sing
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
2013-05-21Ensure that sc_lock is held when calling sr_meta_native_bootprobe() - theJoel Sing
2013-05-21sr_raid_startwu() is no longer called from interrupt context, hence doesJoel Sing
2013-05-21Provide a function that handles the scheduling of work units. ThisJoel Sing
2013-05-21Make the sr_raid_startwu() function handle deferred work units, instead ofJoel 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-26Add a SR_WUF_DISCIPLINE flag that identifies work units that have resultedJoel Sing
2013-04-23Rename ccb_flag to ccb_flags.Joel Sing
2013-04-21Convert RAID1 to the new work unit completion functions and genericJoel Sing
2013-03-31Use the discipline name instead of the product string when reporting theJoel Sing
2013-03-31The return value of sd_free_resources() is never checked and all of theJoel Sing
2013-03-31Fix compilation with debug.Joel Sing
2013-03-31Provide default resource allocation and free functions. Convert allJoel Sing
2013-03-30Provide wrappers for scsi_io_get() and scsi_io_put(), that also includeJoel Sing