summaryrefslogtreecommitdiff
path: root/sys/dev/softraid.c
AgeCommit message (Expand)Author
2022-12-21Move duplicate code to new sr_find_discipline() helperKlemens Nanni
2022-12-18Prevent detaching the boot volumeKlemens Nanni
2022-09-11Remove the DKF_LABELVALID flag from struct disk. Instead, trust disk driversMiod Vallat
2022-08-29Examine RAID-1C-specific softraid(4) meta-data when checking forStefan Sperling
2022-04-16constify SCSI adapter entry pointsChristian Weisgerber
2022-04-12struct vnode: document the protection required for manipulating v_numoutputSebastien Marie
2022-04-06constify struct cfattachChristian Weisgerber
2022-03-20Always check if softraid0 is NULL before dereferencing it.Kenneth R Westerback
2022-01-09spellingJonathan Gray
2021-12-12Add vnode parameter to VOP_STRATEGY()Visa Hankala
2021-05-16panic does not require a \n at the end. When one is provided, it looks wrong.Theo de Raadt
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