summaryrefslogtreecommitdiff
path: root/sys/dev/vnd.c
AgeCommit message (Expand)Author
2010-09-08Store a struct device pointer within struct disk and populate this whenJoel Sing
2010-08-28Garbage collect struct dkdriver.Matthew Dempsky
2010-07-22Instead of trying to biowait on a buf that has errored, do theThordur I. Bjornsson
2010-07-01leases have expired. (remove a comment).Thordur I. Bjornsson
2010-07-01for the allocated buf, set the b_bq flag to NULL so we do notThordur I. Bjornsson
2010-05-18dont let sys/ioctl.h imply that you get the ioctls in dkio.h. thisDavid Gwynne
2010-04-23Recycle unused disklabel fields in order to create a disklabel uniqueJoel Sing
2009-08-24- fix format strings for values that are daddr64_tJasper Lievisse Adriaanse
2009-08-13Replace the error strings that were being passed around with much simplerTheo de Raadt
2009-06-17Revert bufq's. this is inline with the major midlayer reverts thatThordur I. Bjornsson
2009-06-04Add DIOCRLDINFO to those drivers previously deprived.Kenneth R Westerback
2009-06-03add a flexible buffer queue (bufq) api, based on the never usedThordur I. Bjornsson
2008-09-03Replace -s (sector size) option with more general -t (disktype)Kenneth R Westerback
2008-08-14Allow the sector size to be specified by the user when configuring aJoel Sing
2008-07-23Correct cases of mishandling of pending reads and writes to preventBob Beck
2008-07-20Add DIOCGPDINFO support. 'disklabel -d svnd0' now works.Kenneth R Westerback
2008-06-29Use DEV_BSIZE (defined as 512) instead of 512 when initializing theKenneth R Westerback
2008-03-24Change XXgetdisklabel() to the 'normal' four parameter model toKenneth R Westerback
2007-10-15more remove unneeded declarations that shadows existing vars; ok by many.Federico G. Schwindt
2007-09-29make safe vnds work on block devices.Felix Kronlage
2007-09-12There is no such word as `detatch'.Michael Knudsen
2007-09-11KNFGilles Chehade
2007-09-08more M_ZERO changesGilles Chehade
2007-06-20b_cylinder does not need to be set on the callpath down into drivers.Theo de Raadt
2007-06-08all drivers should spoof version 1 labelsTheo de Raadt
2007-06-06now that all partition size/offsets are potentially 64-bit, change theTheo de Raadt
2007-06-05use six new macros to access & store the 48-bit disklabel fields relatedTheo de Raadt
2007-06-01Don't initialize d_partitions[RAW_DISK] just before callingKenneth R Westerback
2007-05-12Use VNDLABELDEV() and not DISKLABELDEV() in writedisklabel() sinceKenneth R Westerback
2007-04-29Replace expansions of DISKLABELDEV() with DISKLABELDEV(). Shorter, andKenneth R Westerback
2007-03-25include rwlock.h ourselves, better than depending on it getting pickedTed Unangst
2007-03-25use a rwlock instead of the homegrown approachTed Unangst
2007-02-26Don't enforce RLIMIT_FSIZE on vnd(4) I/O operations, okay deraadt@Pedro Martelletto
2007-02-21Don't use arbitrary 128 bytes as size of the blf key array if we know exactlyAlexander von Gernler
2007-02-01Don't throttle and serialize I/O operations, okay miod@ krw@Pedro Martelletto
2007-01-13Touch of clean up:Thordur I. Bjornsson
2006-12-24ansify, no binary change, from Bret LambertPedro Martelletto
2006-10-05Always allow read-only opens on (s)vnd devices, despite theThordur I. Bjornsson
2006-10-03Introduce daddr64_t and use it for physical block numbersPedro Martelletto
2006-09-20Make vnd(4) work on read-only file systems, from Paul Stoeber, okay tedu@Pedro Martelletto
2006-08-13fix a panic when trying to fdisk vnd devices (not svnd) wichThordur I. Bjornsson
2006-08-12Setting d_secsize to DEV_BSIZE (or 1 << DEV_BSHIFT, or 512) and thenKenneth R Westerback
2006-03-15Nuke dk_establish(), no longer used.Miod Vallat
2006-03-04Disk interrupts can cause buffers to be returned to the vnd pool, soPedro Martelletto
2006-01-22b_cylin -> b_cylinder; no functional change.Miod Vallat
2005-12-29Correctly bounds check transfers passed to vndstrategy()Pedro Martelletto
2005-07-20change sc_keyctx from void * to blf_ctx *. there's no point for it to beTed Unangst
2005-04-19use pool for struct vndbug; tested by many and pedro@ okMichael Shalayeff
2005-04-12simplify vndopen() a bit.Joris Vink
2005-01-05copyoutstr doesn't work so well with the kernel addressesTed Unangst