summaryrefslogtreecommitdiff
path: root/sys/dev/vnd.c
AgeCommit message (Expand)Author
2021-07-24Fix all remaining typos, mainly in comments but also in few definitions and l...andvar
2021-06-29Add containment for the cloning devices hack in vn_open.dholland
2021-06-13Fail to open read-write when created read-only.mlelstv
2021-04-11Provide a default preferred I/O size.mlelstv
2021-04-11Don't truncate disk size to full cylinders.mlelstv
2021-01-04Fix calculation of cylinder count from medium size.mlelstv
2020-04-23pass b_flags B_PHYS and B_RAW when setting up the buf for underlying devicejdolecek
2020-04-13constifymaxv
2020-04-10add support for DIOCGSTRATEGY and DIOCGCACHEjdolecek
2020-02-23UVM locking changes, proposed on tech-kern:ad
2020-01-17Acquire kernel_lock in the bp->b_iodone callback.ad
2019-03-01Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as brieflypgoyette
2019-01-27Merge the [pgoyette-compat] branchpgoyette
2018-12-10Operation handle_with_strategy() also needs thehannken
2018-10-07Use IO_DIRECT for file I/O to reduce buffer cache contention.mlelstv
2018-10-07Calculate a missing cylinder count in the geometry spec from image size.mlelstv
2018-10-07Add flag to enforce file I/O even when bmap/strategy would be possible.mlelstv
2018-10-05Bring back three state file system suspension:hannken
2018-09-20getdisksize only operates on device vnodes. Use the ioctl on the underlyingmlelstv
2018-09-03Rename min/max -> uimin/uimax for better honesty.riastradh
2017-10-28Kill some more extern cfdriver xyz_cd in favour of #include "ioconf.h".riastradh
2017-07-28Appease toxic bullshit warning from gcc.riastradh
2017-07-28Fix indentation. u_intN_t -> uintN_t. ntohl -> be32toh.riastradh
2017-07-28Put in a litany of judicious bounds checks around vnd headers.riastradh
2017-03-25Don't display step-by-step detailed error messages unless DIAGNOSTIC.pgoyette
2016-08-05Ignore return values when backing out of a "finish" sequence. Therepgoyette
2016-07-26When calling devsw_attach() we need to use the expected/official driverpgoyette
2015-12-08Replace DIOCGPART -> DIOCGPARTINFO which returns the data needed instead ofchristos
2015-11-30Fall back to VOP_READ/VOP_WRITE if the simulated disk has smallermlelstv
2015-11-12Use the new DK_DEV_BSIZE_OK() macro.christos
2015-11-12fix incorrect memset.christos
2015-11-09explain why the int cast works (suggested by kre)christos
2015-11-09Return ENXIO if the get ioctl exceeds the number of configured devices.christos
2015-11-09disable debuggingchristos
2015-11-09Simplify ioctl handling a little.christos
2015-08-20include "ioconf.h" to get the 'void <driver>attach(int count);' prototype.christos
2015-08-02use dk_openlock when accessing openmask.mlelstv
2015-07-28Print vndattach errorprlw1
2015-05-25typoprlw1
2015-05-25whitespace policeprlw1
2015-04-26Use C99-style initializers for struct dkdriver.mlelstv
2015-04-06Make DIOCKLABEL work. Set default to keep the disklabel after close tomlelstv
2015-01-28Fix typo in commentbouyer
2015-01-28As discussed inbouyer
2015-01-02We have three sets of DTYPE_ constants in the kernel:christos
2014-12-31make more drivers use disk_ioctl, and add a dev parameter to it so thatchristos
2014-12-31Centralize wedge ioctls in disk_ioctl.christos
2014-12-31disk_blocksize and disk_set_info relay the same informationmlelstv
2014-12-29Fix default label for non-standard sector size.mlelstv
2014-11-04support DIOCMWEDGES ioctl.mlelstv