summaryrefslogtreecommitdiff
path: root/sys/dev/softraid.c
AgeCommit message (Expand)Author
2018-05-02Remove proc from the parameters of vn_lock(). The parameter isVisa Hankala
2018-02-08sr_quiesce() is a new approach for ensuring that softraid drainsTheo de Raadt
2018-02-07Use duid_format() instead of rolling one locally.Kenneth R Westerback
2017-12-21Two width specifiers changed from %02 to %0 in previous. Change them back.Theo Buehler
2017-12-21Do not use %hx for chars, ok kettenisTheo de Raadt
2017-12-20Add a sanity check on the number of chunks beingKenneth R Westerback
2017-12-14Don't bother using DETACH_FORCE for the softraid luns at rebootTheo de Raadt
2017-09-06In the case that we want to force a new RAID assembly and the metadataPatrick Wildt
2017-08-30Report the rebuild state properly, so that in the case of a rebuildPatrick Wildt
2017-07-24tweak malloc(9) flags: since that M_NOWAIT might return NULL hence itGleydson Soares
2017-06-12Upon failure, only return zero from the softraid ioctl handler when thereJoel Sing
2017-06-06Provide sufficient info in error messages to identifyKenneth R Westerback
2017-04-14Avoid some false positives with cppcheck. No binary change.Alexander Bluhm
2017-03-27If the sub-device of a softraid lacks a side-effect io function, returnTheo de Raadt
2017-03-19Restore behavior from before r1.376: only set bv_percent if a rebuild isTheo Buehler
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