summaryrefslogtreecommitdiff
path: root/sys/dev/softraid.c
AgeCommit message (Expand)Author
2021-02-08Add a RAID1C (raid1 + crypto) softraid(8) discipline.Stefan Sperling
2020-12-16softraid(4): more tsleep(9) -> tsleep_nsec(9) conversionscheloha
2020-10-15Replace sr_copy_internal_data() with scsi_copy_internal_data().Kenneth R Westerback
2020-09-22Since dlg@'s 2009 scsi midlayer refactoring the 'struct scsi_generic *cmd'Kenneth R Westerback
2020-09-05Replace '32' with SID_SCSI2_ALEN (a.k.a. 31) when building emulated INQUIRYKenneth R Westerback
2020-09-03Replace '.response_format = 2' with '.response_format = SID_SCSI2_RESPONSE'.Kenneth R Westerback
2020-09-02When building emulated INQUIRY results use the SCSI_REV_* #define's toKenneth R Westerback
2020-09-01Rename [READ|WRITE]_BIG to [READ|WRITE]_10. Rename struct scsi_rw_big toKenneth R Westerback
2020-07-20Move remaining scsi bus initialization info from "prototype scsi link"Kenneth R Westerback
2020-07-19Move the adapter related items (luns, adapter, adapter_target,Kenneth R Westerback
2020-07-16Access adapter softc via link->bus->sb_adapter_softc.Kenneth R Westerback
2020-07-13Fix malloc(9) sizekn
2020-07-11Expunge some Captain Obvious comments, tweak whitespace a bit, move a debugKenneth R Westerback
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