summaryrefslogtreecommitdiff
path: root/sys/dev/vnd.c
AgeCommit message (Expand)Author
2011-06-19Use disk_lock_nointr() in the xxclose() routines so that they cannotTheo de Raadt
2011-06-19Use disk_lock/disk_unlock directly and in the same way in these drivers,Theo de Raadt
2011-06-19and in debug code, tooTheo de Raadt
2011-06-19stop trying to be clever with the softc nameTheo de Raadt
2011-06-09shorted code with a lovely gotoTheo de Raadt
2011-06-05Drop kernel support for the useless DIOCWLABEL ioctl and prune a lotMatthew Dempsky
2011-06-03Get rid of the wlabel argument to bounds_check_with_label(). It'sMatthew Dempsky
2011-06-02No need to set error to 0, when it is still 0 from the start of the function.Theo de Raadt
2011-06-02The vndbufpl is no longer used.Theo de Raadt
2011-06-02Initialize the dv_xname at attach time, so that we don't have to doTheo de Raadt
2011-06-02In vndclear(), clear all the flag bits. Leaving around a VNF_WLABEL bitTheo de Raadt
2011-06-02Initialize the dv_unit, because disk_attach will want it later. BeforeTheo de Raadt
2011-06-02Do not bzero the softc when doing VNDIOCCLR, because that trashes theTheo de Raadt
2011-06-02device_ref() by hand, since this is a pseudo-device and was not attachedTheo de Raadt
2011-05-31Change a few of the more common disk drivers (sd, cd, wd, rd, and vnd)Matthew Dempsky
2011-05-30Remove vndshutdown. It is unused.Owain Ainsworth
2011-04-25Remove backwards compatibility for svnd. All new operations must use theTheo de Raadt
2011-04-23Remove now unused vndiodone(). ok deraadt@Miod Vallat
2011-04-23The previous code only prevented the vnd from being opened for write inJoel Sing
2011-04-23backout the miod change since it is wrongTheo de Raadt
2011-04-22Fix regression in vndopen() behaviour introduced in previous commit.Miod Vallat
2011-04-18remove the old style by-pass-the-buffer-cache vnd code.Thordur I. Bjornsson
2011-04-02Remove bufqs from vnds, as the disk that houses the imageThordur I. Bjornsson
2011-02-15A vnd buf doesn't only go through the vnd bufq but also the bufqThordur I. Bjornsson
2011-01-06init and destory the bufq in the ioctl handler, asThordur I. Bjornsson
2011-01-05cut vnd over to using bufq's again.Thordur I. Bjornsson
2010-12-22When configuring a vnd(4) disk, populate the disk name based on the modeJoel Sing
2010-09-22All users of physio(9) now pass NULL as the buf pointer argument, soMatthew Dempsky
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