summaryrefslogtreecommitdiff
path: root/sys/dev/vnd.c
AgeCommit message (Expand)Author
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
2004-06-30since we're not using 'len' for anything, nuke it and pass null toPedro Martelletto
2004-06-30don't strlcpy() to user-space, use copyoutstr() instead. ok deraadt@Pedro Martelletto
2004-06-28You *cannot* strlcpy from userland. Pedro, go read this and find out whatTheo de Raadt
2004-06-27back out crud that breaks the macppcTheo de Raadt
2004-06-20add the VNDIOCGET ioctl to vnode disks, ok millert@Pedro Martelletto
2004-06-19save curproc for further reference, otherwise we may end up in lockmgr()Pedro Martelletto
2004-05-22Do not truncate intermediate results computing aiov.iov_len in vndsetcred();Otto Moerbeek
2004-03-043 buglets.Ted Unangst
2004-03-03Make sure than svnd read their disklabel as svnd, not vnd devices.Miod Vallat