summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
AgeCommit message (Expand)AuthorFilesLines
2020-06-08Provide clear errors when trying to install oversized boot loaderkn1-3/+9
2020-04-14Prevent uninitialized use of bbs and bls in the error pathjca1-2/+2
2020-04-06Remove redundant VOP_CLOSE() and vput(). The fail branch will closevisa1-3/+1
2020-03-10Remove unused argument to sr_error.tobhe1-2/+2
2020-02-13Nuke *_minphys() functions that either simply apply MAXPHYS or dokrw1-13/+2
2020-01-25Drivers that implement their own *minphys() don't need to call thekrw1-2/+1
2019-08-08softraid(4): tsleep(9) -> tsleep_nsec(9); ok kn@cheloha1-10/+13
2019-07-04Fix a free size panic when detaching a crypto softraid on i386.bluhm1-5/+6
2019-05-18Correct free size. Fixes a panic when detaching crypto volumes.tim1-2/+3
2019-05-15Fix free(9) sizes in softraid(4)jan1-26/+28
2018-05-02Remove proc from the parameters of vn_lock(). The parameter isvisa1-3/+2
2018-02-08sr_quiesce() is a new approach for ensuring that softraid drainsderaadt1-1/+19
2018-02-07Use duid_format() instead of rolling one locally.krw1-13/+5
2017-12-21Two width specifiers changed from %02 to %0 in previous. Change them back.tb1-2/+2
2017-12-21Do not use %hx for chars, ok kettenisderaadt1-3/+3
2017-12-20Add a sanity check on the number of chunks beingkrw1-1/+8
2017-12-14Don't bother using DETACH_FORCE for the softraid luns at rebootderaadt1-10/+11
2017-09-06In the case that we want to force a new RAID assembly and the metadatapatrick1-2/+2
2017-08-30Report the rebuild state properly, so that in the case of a rebuildpatrick1-1/+6
2017-07-24tweak malloc(9) flags: since that M_NOWAIT might return NULL hence itgsoares1-6/+6
2017-06-12Upon failure, only return zero from the softraid ioctl handler when therejsing1-2/+5
2017-06-06Provide sufficient info in error messages to identifykrw1-5/+5
2017-04-14Avoid some false positives with cppcheck. No binary change.bluhm1-2/+3
2017-03-27If the sub-device of a softraid lacks a side-effect io function, returnderaadt1-1/+3
2017-03-19Restore behavior from before r1.376: only set bv_percent if a rebuild istb1-2/+3
2016-07-20Plug potential leak of device list.krw1-2/+6
2016-05-31Provide a function for calculting the rebuild percentage, rather thanjsing1-25/+19
2016-04-29Panic when attempting to execute a scsi command with no disciplinekrw1-6/+4
2016-04-26Display correct value in error message.krw1-2/+2
2016-04-26Do NOT attempt a rebuild using a hot spare with a sector sizekrw1-2/+8
2016-04-26Restore intro comment to sr_hotspare_rebuild(), which was erroneouslykrw1-1/+5
2016-04-19Use consistent intro comment when searching for the first offlinekrw1-5/+2
2016-04-19Use variable 'cid' in for(;;) rather than 'i' with an assignmentkrw1-6/+4
2016-04-19Change a variable name (chunk_no -> cid) to make a couple of codekrw1-5/+5
2016-04-12No need to rescan chunks in each discipline to find appropriatekrw1-2/+7
2016-04-04Enable creation of softraid volumes using disks with non-512 bytekrw1-33/+27
2016-02-14Avoid using uninitialized variables in two corner cases. In onekrw1-4/+7
2015-12-29Remove NULL-checks before free().mmcc1-28/+15
2015-08-19Stop passing around constants for metadata size and location. Justkrw1-12/+9
2015-07-29Zap a SLIST in a more obviously correct/safe way.krw1-3/+2
2015-07-28Tweak a couple of [SLIST|TAILQ]_REMOVE() usages in loops to a morekrw1-15/+15
2015-07-27zap trailing linefeeds from sr_error() and panic() callshalex1-5/+5
2015-07-21A few more daddr_t fixes. Rename 'phys_off' variables to 'offset'krw1-38/+38
2015-07-20fix spacingmlarkin1-2/+2
2015-07-19Stop passing daddr_t parameters for lengths. Use long since that's the typekrw1-3/+3
2015-07-19Change some obviously incorrect usages of daddr_t (a DEV_BSIZEkrw1-13/+41
2015-07-19Stop adding and subtracting data offset. Just keep to chunk relativekrw1-2/+2
2015-07-19Use DEV_BSIZE instead of 512 where appropriate. Use DL_SECTOBLK()krw1-28/+30
2015-05-29Nuke annoying whitespace nits to shrink some future diffs.krw1-6/+5
2015-05-20Signed types are bad array indicies - let it panic instead.pelikan1-2/+3