summaryrefslogtreecommitdiff
path: root/sys/dev/vnd.c
AgeCommit message (Expand)Author
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
2014-10-11clamp total number of sectors to UINT32_MAX instead of providing themlelstv
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-07-22Fix MODULE() dependencies to account for VND_COMPRESSIONpooka
2014-03-22DIOCGDISKINFO support for vndprlw1
2014-03-16Change (mostly mechanically) every cdevsw/bdevsw I can find to usedholland
2013-12-29Modularize net/zlib so it can be used by the vnd module (and, eventually,pgoyette
2013-09-15Remove unused variablemartin
2013-06-09Never return ENXIO in ioctl anymore. We don't have a fixed number of vnd'schristos
2013-06-03widen the operation on the RHS as suggested in the PR.christos
2013-06-03PR/47879: Takahiro HAYASHI: vnd cannot handle disk image larger than 2TiBchristos