summaryrefslogtreecommitdiff
path: root/sys/dev/dkwedge/dk.c
AgeCommit message (Expand)Author
2020-10-11Pull up following revision(s) (requested by mlelstv in ticket #1110):martin
2020-04-24Pull up following revision(s) (requested by maya in ticket #850):martin
2020-04-06Pull up following revision(s) (requested by riastradh in ticket #822):martin
2020-03-21Pull up following revision(s) (requested by riastradh in ticket #788):martin
2018-05-12Support dump on wedges.mlelstv
2017-03-05Enhance disk metrics by calculating a weighted sum that is incrementedmlelstv
2017-02-27pass also DIOCGCACHE to underlying device, so that upper layers would be ablejdolecek
2017-01-19use a bounded copy. NFCImaya
2016-12-24add missing mutex/cv cleanup to error paths.mlelstv
2016-12-16Make dk(4) device mpsafe.mlelstv
2016-05-29missed one exit path with the previous change.mlelstv
2016-05-29release openlock mutex before closing parent device.mlelstv
2016-04-27Add dkwedge_find_by_parent()christos
2016-01-15Allow dump to raidframe component which is a wedge.mlelstv
2015-12-27Return error in dkopen when dk_open_parent fails. Also change dk_open_parentmlelstv
2015-11-28sc_size is already measured in sectors.mlelstv
2015-10-10remove incorrect comment (from kre)christos
2015-10-06print wedge announcement in one line instead of twojmcneill
2015-08-25Rename variable to avoid -Wshadow warnings with some compilers.pooka
2015-08-22No longer access the disk driver directly.mlelstv
2015-08-22revert the previousmlelstv
2015-08-20when scanning for disklabels, close block device only when this wasmlelstv
2015-01-02- Use NODEV instead of 0christos
2014-12-31make more drivers use disk_ioctl, and add a dev parameter to it so thatchristos
2014-12-31disk_blocksize and disk_set_info relay the same informationmlelstv
2014-12-08Really provide disk properties, the old code computed values that weremlelstv
2014-11-22fix iobuf setup, cleanupmlelstv
2014-11-04Implement DIOCMWEDGES ioctl that triggers wedge autodiscovery.mlelstv
2014-08-28Make dk(4) discard from partition start, not from disk start.riastradh
2014-07-25Implement d_discard for dk. This closes PR 47940.dholland
2014-07-25Add d_discard to all struct cdevsw instances I could find.dholland
2014-07-25Add d_discard to all struct bdevsw instances I could find.dholland
2014-04-03add dkwedge_get_parent_name().christos
2014-03-16Change (mostly mechanically) every cdevsw/bdevsw I can find to usedholland
2013-08-03Don't complain about not being able to open empty removable media drives.soren
2013-05-29phase 1 of disk geometry cleanup:christos
2012-10-27split device_t/softc for all remaining drivers.chs
2012-06-10Make detection of root on wedges (dk(4)) machine independent. Removemlelstv
2012-04-27minor mostly cosmetical fixes: use designated type for device majordrochner
2011-07-30Add an FSILENT flag and use it to suppress "Medium Not Present" scsipijmcneill
2011-06-12Welcome to 5.99.53! Merge rmind-uvmplock branch:rmind
2011-03-03check rawvp before doing ioctl or strategy.christos
2011-02-28Make error checking consistent, possibly fixes PR/44652.christos
2010-12-23Make wedges aware of underlying physical block size.mlelstv
2010-08-04Make sure to release sc_parent->dk_rawlock before callingbouyer
2010-06-24Clean up vnode lock operations pass 2:hannken
2010-02-07d_psize routine returns a number of blocks or -1 on error.mlelstv
2010-01-25GPTs are defined in terms of physical blocks.mlelstv
2010-01-23struct buf::b_iodone is not called at splbio() any more.bouyer
2009-12-27Implement and use a dkminphys() that calls the parent device's minphysjakllsch