summaryrefslogtreecommitdiff
path: root/sys/dev/softraid.c
AgeCommit message (Expand)Author
2020-06-27Nuke trailing whitespace.Kenneth R Westerback
2020-06-27No need to bzero()/memset() 'struct scsibus_attach_args' variablesKenneth R Westerback
2020-06-24Use SDEV_NO_ADAPTER_TARGET instead of the value that is beingKenneth R Westerback
2020-06-08Provide clear errors when trying to install oversized boot loaderkn
2020-04-14Prevent uninitialized use of bbs and bls in the error pathJeremie Courreges-Anglas
2020-04-06Remove redundant VOP_CLOSE() and vput(). The fail branch will closeVisa Hankala
2020-03-10Remove unused argument to sr_error.tobhe
2020-02-13Nuke *_minphys() functions that either simply apply MAXPHYS or doKenneth R Westerback
2020-01-25Drivers that implement their own *minphys() don't need to call theKenneth R Westerback
2019-08-08softraid(4): tsleep(9) -> tsleep_nsec(9); ok kn@cheloha
2019-07-04Fix a free size panic when detaching a crypto softraid on i386.Alexander Bluhm
2019-05-18Correct free size. Fixes a panic when detaching crypto volumes.Tim van der Molen
2019-05-15Fix free(9) sizes in softraid(4)jan
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