summaryrefslogtreecommitdiff
path: root/sys/dev/softraid.c
AgeCommit message (Expand)Author
2016-07-20Plug potential leak of device list.Kenneth R Westerback
2016-05-31Provide a function for calculting the rebuild percentage, rather thanJoel Sing
2016-04-29Panic when attempting to execute a scsi command with no disciplineKenneth R Westerback
2016-04-26Display correct value in error message.Kenneth R Westerback
2016-04-26Do NOT attempt a rebuild using a hot spare with a sector sizeKenneth R Westerback
2016-04-26Restore intro comment to sr_hotspare_rebuild(), which was erroneouslyKenneth R Westerback
2016-04-19Use consistent intro comment when searching for the first offlineKenneth R Westerback
2016-04-19Use variable 'cid' in for(;;) rather than 'i' with an assignmentKenneth R Westerback
2016-04-19Change a variable name (chunk_no -> cid) to make a couple of codeKenneth R Westerback
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
2016-02-14Avoid using uninitialized variables in two corner cases. In oneKenneth R Westerback
2015-12-29Remove NULL-checks before free().mmcc
2015-08-19Stop passing around constants for metadata size and location. JustKenneth R Westerback
2015-07-29Zap a SLIST in a more obviously correct/safe way.Kenneth R Westerback
2015-07-28Tweak a couple of [SLIST|TAILQ]_REMOVE() usages in loops to a moreKenneth R Westerback
2015-07-27zap trailing linefeeds from sr_error() and panic() callsAlexander Hall
2015-07-21A few more daddr_t fixes. Rename 'phys_off' variables to 'offset'Kenneth R Westerback
2015-07-20fix spacingMike Larkin
2015-07-19Stop passing daddr_t parameters for lengths. Use long since that's the typeKenneth R Westerback
2015-07-19Change some obviously incorrect usages of daddr_t (a DEV_BSIZEKenneth R Westerback
2015-07-19Stop adding and subtracting data offset. Just keep to chunk relativeKenneth R Westerback
2015-07-19Use DEV_BSIZE instead of 512 where appropriate. Use DL_SECTOBLK()Kenneth R Westerback
2015-05-29Nuke annoying whitespace nits to shrink some future diffs.Kenneth R Westerback
2015-05-20Signed types are bad array indicies - let it panic instead.Martin Pelikan
2015-05-11Make softraid(4) compile with SR_DEBUG by fixing __kprintf__ specifiers.Martin Pelikan
2015-04-11Directly handle ioctls issued to a SCSI device associated with a softraidJoel Sing
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-09we want to defer work traditionally (in openbsd) handled in anDavid Gwynne
2015-01-27remove the second void * argument on tasks.David Gwynne
2014-12-19bcopy to memcpy. ok deraadt millertTed Unangst
2014-12-16only need lock.h here, not all of uvm_extern.hTed Unangst
2014-12-16primary change: move uvm_vnode out of vnode, keeping only a pointer.Ted Unangst
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