summaryrefslogtreecommitdiff
path: root/sys/dev/dksubr.c
AgeCommit message (Expand)Author
2021-04-15dk_start(): retry device-dependent start() routine later, also when itrin
2020-03-01Add a flag to dk_dump for virtual disk devices.riastradh
2019-12-08Drop now unused dk_lookup function.mlelstv
2019-10-05Bail when dkdriver hasn't been initialized. This can happen whenmlelstv
2019-06-28Store a reference to the CPU that submitted the I/O request with thejmcneill
2019-04-21wether -> whethermaya
2019-03-27Add a disk ioctl DIOCRMWEDGES to remove all wedges of a given diskmartin
2019-01-07fix the disklabel sanity check coversion for case when both disklabeljdolecek
2019-01-07convert the sector counts for label sanity checks to use same unit (DEV_BSIZE),jdolecek
2018-11-24rnd_add_uint32() doens't support concurent calls for the same rnd_source,bouyer
2018-09-03Rename min/max -> uimin/uimax for better honesty.riastradh
2018-05-12Support dump on wedges.mlelstv
2017-12-04add KASSERT() just before setting sc_deferred, to ensure this doesjdolecek
2017-10-29Use driver specific label code as fallback. This fixes the UDF label for CDs.mlelstv
2017-08-24Initialize error also in the case where len=0, which just succeeds.maya
2017-08-13validate length for discard operation and split operation when byte lengthmlelstv
2017-04-27do not attach nvme ld as randomness source - device is too fast, it overwhelmsjdolecek
2017-03-05Enhance disk metrics by calculating a weighted sum that is incrementedmlelstv
2017-02-25pacify disklabel validation messagemlelstv
2016-12-22Fix race condition in dksubr, where a dk_start from another threadmlelstv
2016-12-08invoke optional d_label callback to give the driver the possibilitymlelstv
2016-11-28Extend dkdriver interface with a d_firstopen function. This is calledmlelstv
2016-10-24revert 1.90 of dksubr.c and change sc_deferred back to simple pointer; thejdolecek
2016-10-22change sc_deferred to TAILQ (reusing bufq b_actq) to avoid possible buf leakjdolecek
2016-09-14Set b_resid in error path.mlelstv
2016-06-27CID 1362902: forward nullchristos
2016-06-26Avoid NULL deref in case no bufq has been set.mlelstv
2016-01-04erase dangling pointer to prevent reusemlelstv
2015-12-21support deferral of diskstart to a separate thread.mlelstv
2015-12-21more sanity checksmlelstv
2015-12-08Replace DIOCGPART -> DIOCGPARTINFO which returns the data needed instead ofchristos
2015-11-28bounds check requires consistent units, i.e. DEV_BSIZE.mlelstv
2015-10-23remove extra quotechristos
2015-10-23fix this differently.christos
2015-10-23fix build failure on i386.knakahara
2015-10-22fix constant namechristos
2015-10-21Fix dumping code (dk_dump):christos
2015-08-28move entropy gathering into dksubr.mlelstv
2015-08-28Prevent race condition where two threads can defer a buffer.mlelstv
2015-08-27Make dksubr use a spin-mutex again, since some drivers still call dk_donemlelstv
2015-08-23An adaptive mutex is sufficient, the data structures are accessedmlelstv
2015-08-18only touch b_resid on error.mlelstv
2015-08-16Two changes to the dksubr interface.mlelstv
2015-08-16require write access to delete a wedgemlelstv
2015-08-16move FWRITE checks to a common placemlelstv
2015-08-02fix diskerr message, it needs the driver name, not the device unit name.mlelstv
2015-07-22Trailing whitespace.skrll
2015-07-19Handle non-DEV_BSIZE sectors.mlelstv
2015-07-12remove duplicate variable initializations.mlelstv
2015-07-11Mark disklabel only invalid on the last close. Existing openers might seemlelstv