summaryrefslogtreecommitdiff
path: root/sys/dev/dkwedge
AgeCommit message (Expand)Author
2022-09-27Remove bogus assertions.mlelstv
2022-08-22dk(4): Assert about dk_openmask under the lock.riastradh
2022-08-22Revert "dk(4): Narrow scope of dk_rawlock on close to dklastclose."riastradh
2022-08-22dk(4): dklastclose never fails. Make it return void.riastradh
2022-08-22dk(4): Simplify dklastclose.riastradh
2022-08-22dk(4): Assert parent is open in dklastclose.riastradh
2022-08-22dk(4): Move first-open logic to new dkfirstopen function.riastradh
2022-08-22dk(4): Turn locking contract comment into assertions in dklastclose.riastradh
2022-08-22dk(4): Narrow scope of dk_rawlock on close to dklastclose.riastradh
2022-08-22dk(4): Factor common mutex_exit out of branches to keep it balanced.riastradh
2022-08-22dk(4): Move lock release out of dklastclose into caller.riastradh
2022-08-22dk(4): Serialize closing parent's dk_rawvp with opening it.riastradh
2022-06-11Since rev 1.101 DIOCAWEDGE could return success without filling in themartin
2022-04-23Need vnode locked fot VOP_FDISCARD().hannken
2022-01-15dk(4): Omit redundant microoptimization around cv_broadcast.riastradh
2021-10-18Whitespace nits.simonb
2021-10-16Remove funny straggling blank line.simonb
2021-08-21fix some more typos in comments/log messages, improve wording as well.andvar
2021-08-04Swap and Dump uses DEV_BSIZE units. Translate from device sectors likemlelstv
2021-06-02Clear sc_mode only on last close.mlelstv
2021-06-02Copy mode of open wedges with the same parent and validate it.mlelstv
2021-05-22Handle read-only parent devices.mlelstv
2021-02-20Misc style fixes. No binary changes.rin
2020-10-06Check dkdriver before calling a driver function.mlelstv
2020-05-24dkwedge_add: Allow for expanding the size of an existing wedge withoutjmcneill
2020-05-03Fix fallout of migration from malloc to geteblk.rin
2020-04-11allocate buffer for disk I/O via geteblk() instead of malloc(), so theyjdolecek
2020-03-30Teach dk(4) about ZFS.wiz
2020-03-02New ioctl DIOCGSECTORALIGN returns sector alignment parameters.riastradh
2020-03-01Allow dumping to cgd(4) on a dk(4).riastradh
2020-02-28Update sc->sc_parent->dk_rawvp while the lock named dk_rawlock heldyamaguchi
2019-07-09Fix info leak: always clear 'dkw', because some of its (otherwisemaxv
2019-07-06Add a condition in the loop. Otherwise there could be an infinite loop,maxv
2019-06-22Fix buffer overflow. Triggerable by plugging a specially-crafted USB keymaxv
2019-04-10add types for windows and linux partitions.mlelstv
2018-11-06add support to detect the 3 vmware GPT partition types:mrg
2018-05-12Support dump on wedges.mlelstv
2017-09-07use arraycount.christos
2017-09-06PR/52522: ent_name is not necessarily 0 terminated, so check bounds.christos
2017-03-05Enhance disk metrics by calculating a weighted sum that is incrementedmlelstv
2017-02-28remove unnecessary substitution. no functional changes.rin
2017-02-28determine the buffer size by roundup(9)rin
2017-02-28Remove PARANOID macro; we should always update secsize if necessary.rin
2017-02-27pass also DIOCGCACHE to underlying device, so that upper layers would be ablejdolecek
2017-02-26Add DKWEDGE_METHOD_RDB option, which is Amiga Rigid Disk Block (RDB)rin
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