summaryrefslogtreecommitdiff
path: root/sys/dev/vnd.c
AgeCommit message (Expand)Author
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
2004-02-15knfTed Unangst
2004-02-15new arg to disk_unbusy, to record separate read/write statistics.Ted Unangst
2003-10-17vndunit() wasn't quite right after last change, limiting vnds to 16.Ted Unangst
2003-10-11bump minor gap for svnd devices, so more vnds are allowed.Ted Unangst
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-19Some string cleanup: sprintf -> snprintf and magic numbers to sizeofKenneth R Westerback
2003-04-06The return value for bounds_check_with_label() is not set in stone, and itMiod Vallat
2003-02-25remove useless check.Ted Unangst
2002-05-24Make sure that b_iodone handlers are called at splbio (and splassert(IPL_BIO)...Artur Grabowski
2002-05-23Protect biodone calls with splbio.Artur Grabowski
2002-03-14First round of __P removal in sysTodd C. Miller
2001-12-19UBC was a disaster. It worked very good when it worked, but on someArtur Grabowski
2001-12-07Make vnds larger than 2G work, mostly by Daniel Lucq <daniel@lucq.org>Niklas Hallqvist
2001-11-27Merge in the unified buffer cache code as found in NetBSD 2001/03/10. TheArtur Grabowski
2001-11-15Remove creds from struct buf, move the creds that nfs need into the nfs node.Artur Grabowski
2000-07-05Make return statements adhere to KNFNiklas Hallqvist
2000-06-26let svnd deal with sparse files, okay art@ deraadt@Niels Provos
2000-06-22on unconfig, bzero the key before free; from aazubel@core-sdi.com.Federico G. Schwindt