summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/deadfs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove some includes include-what-you-use claims don'tjsg2015-03-141-2/+1
| | | | | | | have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
* primary change: move uvm_vnode out of vnode, keeping only a pointer.tedu2014-12-161-1/+2
| | | | | | objective: vnode.h doesn't include uvm_extern.h anymore. followup changes: include uvm_extern.h or lock.h where necessary. ok and help from deraadt
* remove uneeded proc.h includesjsg2014-09-141-2/+1
| | | | ok mpi@ kspillner@
* Every single vop_default is set to eopnotsupp, so retire itthib2011-04-051-2/+1
| | | | | | | | and return EOPNOTSUPP directly from the VOP_* functions. Filesystems should, at some point fill in every function in the vop_default struct so we can get rid of the 'if' statements in VOP_*.
* Bring back the "End the VOP experiment." diff, naddy's issues wherethib2010-12-211-43/+38
| | | | | | unrelated, and his alpha is much happier now. OK deraadt@
* Backout the VOP diff until the issues naddy was seeing on alpha (gcc3)thib2010-09-101-38/+43
| | | | have been resolved.
* End the VOP experiment. Instead of the ridicolusly complicated operationthib2010-09-061-43/+38
| | | | | | | | | | | | | | | | | | | vector setup that has questionable features (that have, as far as I can tell never been used in practice, atleast not in OpenBSD), remove all the gunk and favor a simple struct full of function pointers that get set directly by each of the filesystems. Removes gobs of ugly code and makes things simpler by a magnitude. The only downside of this is that we loose the vnoperate feature so the spec/fifo operations of the filesystems need to be kept in sync with specfs and fifofs, this is no big deal as the API it self is pretty static. Many thanks to armani@ who pulled an earlier version of this diff to current after c2k10 and Gabriel Kihlman on tech@ for testing. Liked by many. "come on, find your balls" deraadt@.
* - remove super-obvious comments from $fs_vnodeop_entries[]jasper2009-08-131-34/+34
| | | | | prodded by and ok thib@ agreed by art@ and blambert@
* retire vn_default_error() and replace all instancesthib2008-05-081-2/+2
| | | | | | with eopnotsupp() instead; ok blambert@
* remove useless defines for the vnode operations, and insteadthib2008-04-121-47/+24
| | | | | | | init the op array functions with whatever the define was set too. ok dlg@
* fifofs, deadfs and specfs all have the same "trivial lookup routine thatthib2007-12-271-16/+2
| | | | | | | always fails". Introduce vop_generic_lookup(), which is a trivial lookup routine that always fails and use that instead, zap the redundant copies. ok toby@, tedu@, art@
* pedro ok'd this ~3500 line diff which removes the vop argumentderaadt2007-06-011-46/+9
| | | | | "ap = v" comments in under 8 seconds, so it must be ok. and it compiles too.
* ansify and deregister, no binary change, okay mickey@ bluhm@pedro2007-04-081-31/+14
|
* Remove the v_interlock simplelock from the vnode structure.thib2007-03-211-10/+2
| | | | | | | | | Zap all calls to simple_lock/unlock() on it (those calls are #defined away though). Remove the LK_INTERLOCK from the calls to vn_lock() and cleanup the filesystems wich implement VOP_LOCK(). (by remvoing the v_interlock from there calls to lockmgr()). ok pedro@, art@, tedu@
* Replace select backends with poll backends. selscan() and pollscan()millert2003-09-231-5/+14
| | | | | | | now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Use tsleep instead of sleep.art2002-06-081-2/+2
|
* splbio around biodone.art2002-05-241-1/+5
|
* First round of __P removal in sysmillert2002-03-141-16/+16
|
* UBC was a disaster. It worked very good when it worked, but on someart2001-12-191-4/+2
| | | | | | | | | machines or some configurations or in some phase of the moon (we actually don't know when or why) files disappeared. Since we've not been able to track down the problem in two weeks intense debugging and we need -current to be stable, back out everything to a state it had before UBC. We apologise for the inconvenience.
* Readd VOP_MMAP, will be used soon. Right now it's just a question toart2001-12-041-2/+4
| | | | the filesystem if we're allowed to mmap the file.
* Get rid of several unused vnode operationscsapuntz2001-06-231-15/+1
|
* When vclean calls VOP_LOCK (dead_lock in this case) it has already setart1998-11-131-2/+2
| | | | | | the VXLOCK flag. Calling chkvnlock in that case causes a deadlock. XXX note that only vclean passes LK_DRAIN to VOP_LOCK and don't call chkvnlock XXX in that case.
* Rename vop_revoke, vn_bwrite, vop_noislocked, vop_nolock, vop_nounlockcsapuntz1998-08-061-3/+3
| | | | | | | | | | | | to be vop_generic_revoke, vop_generic_bwrite, vop_generic_islocked, vop_generic_lock and vop_generic_unlock. Create vop_generic_abortop and propogate change to all file systems. Fix PR/371. Get rid of locking in NULLFS (should be mostly unnecessary now except for forced unmounts).
* Updates for VFS Lite 2 + soft update.csapuntz1997-11-061-6/+18
|
* back out vfs lite2 till after 2.2deraadt1997-10-061-18/+6
|
* VFS Lite2 Changescsapuntz1997-10-061-6/+18
|
* From NetBSD: update to 960217 sourcesniklas1996-02-271-106/+112
|
* initial import of NetBSD treederaadt1995-10-181-0/+356