summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/deadfs
AgeCommit message (Collapse)AuthorFilesLines
2021-03-24make some `struct vops' members explicitly NULL instead of implicitly NULLsemarie1-1/+2
ok mpi@
2020-06-15Implement a simple kqfilter for deadfs matching its poll handler.mpi1-1/+21
ok visa@, millert@
2020-01-20struct vops is not modified during runtime so use const which moves eachclaudio1-2/+2
into read-only data segment. OK deraadt@ tedu@
2019-12-05Convert infinite sleeps to tsleep_nsec(9).mpi1-2/+2
ok jca@
2019-10-19Unlock the vnode in vop_inactive of deadfs. The unlock operation isvisa1-2/+12
a no-op at the moment, but future work will introduce an actual lock that has to be released. OK mpi@ anton@
2015-03-14Remove some includes include-what-you-use claims don'tjsg1-2/+1
have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
2014-12-16primary change: move uvm_vnode out of vnode, keeping only a pointer.tedu1-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
2014-09-14remove uneeded proc.h includesjsg1-2/+1
ok mpi@ kspillner@
2011-04-05Every single vop_default is set to eopnotsupp, so retire itthib1-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_*.
2010-12-21Bring back the "End the VOP experiment." diff, naddy's issues wherethib1-43/+38
unrelated, and his alpha is much happier now. OK deraadt@
2010-09-10Backout the VOP diff until the issues naddy was seeing on alpha (gcc3)thib1-38/+43
have been resolved.
2010-09-06End the VOP experiment. Instead of the ridicolusly complicated operationthib1-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@.
2009-08-13- remove super-obvious comments from $fs_vnodeop_entries[]jasper1-34/+34
prodded by and ok thib@ agreed by art@ and blambert@
2008-05-08retire vn_default_error() and replace all instancesthib1-2/+2
with eopnotsupp() instead; ok blambert@
2008-04-12remove useless defines for the vnode operations, and insteadthib1-47/+24
init the op array functions with whatever the define was set too. ok dlg@
2007-12-27fifofs, deadfs and specfs all have the same "trivial lookup routine thatthib1-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@
2007-06-01pedro ok'd this ~3500 line diff which removes the vop argumentderaadt1-46/+9
"ap = v" comments in under 8 seconds, so it must be ok. and it compiles too.
2007-04-08ansify and deregister, no binary change, okay mickey@ bluhm@pedro1-31/+14
2007-03-21Remove the v_interlock simplelock from the vnode structure.thib1-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@
2003-09-23Replace select backends with poll backends. selscan() and pollscan()millert1-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
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert1-6/+2
rescinded 22 July 1999. Proofed by myself and Theo.
2002-06-08Use tsleep instead of sleep.art1-2/+2
2002-05-24splbio around biodone.art1-1/+5
2002-03-14First round of __P removal in sysmillert1-16/+16
2001-12-19UBC was a disaster. It worked very good when it worked, but on someart1-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.
2001-12-04Readd VOP_MMAP, will be used soon. Right now it's just a question toart1-2/+4
the filesystem if we're allowed to mmap the file.
2001-06-23Get rid of several unused vnode operationscsapuntz1-15/+1
1998-11-13When vclean calls VOP_LOCK (dead_lock in this case) it has already setart1-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.
1998-08-06Rename vop_revoke, vn_bwrite, vop_noislocked, vop_nolock, vop_nounlockcsapuntz1-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).
1997-11-06Updates for VFS Lite 2 + soft update.csapuntz1-6/+18
1997-10-06back out vfs lite2 till after 2.2deraadt1-18/+6
1997-10-06VFS Lite2 Changescsapuntz1-6/+18
1996-02-27From NetBSD: update to 960217 sourcesniklas1-106/+112
1995-10-18initial import of NetBSD treederaadt1-0/+356