summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_sync.c
AgeCommit message (Collapse)Author
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
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-11-27Merge in the unified buffer cache code as found in NetBSD 2001/03/10. TheArtur Grabowski
code is written mostly by Chuck Silvers <chuq@chuq.com>/<chs@netbsd.org>. Tested for the past few weeks by many developers, should be in a pretty stable state, but will require optimizations and additional cleanups.
2001-11-15Make sure that stuff on the syncer worklist has VBIOONSYNCLIST setArtur Grabowski
and stuff that isn't on the worklist doesn't have it set.
2001-06-22KNFTheo de Raadt
2001-03-16No need to extern mountlist_slock here.Artur Grabowski
2001-02-27Instead of doing VOP_ISLOCKED, vn_lock(..LK_RETRY..) we can do ↵Artur Grabowski
vn_lock(..LK_NOWAIT..). Also, when we fail to get the lock on the vnode we want to sync, push it ahead one second in time. XXX - this could lead to some vnodes not being synced for a long time, but that is better than a panic.
2001-02-24Move splbio's around so that they cover the data structures they need toConstantine Sapuntzakis
and don't cover the ones they don't
2001-02-24Cleanup of vnode interface continues. Get rid of VHOLD/HOLDRELE.Constantine Sapuntzakis
Change VM/UVM to use buf_replacevnode to change the vnode associated with a buffer. Addition v_bioflag for flags written in interrupt handlers (and read at splbio, though not strictly necessary) Add vwaitforio and use it instead of a while loop of v_numoutput. Fix race conditions when manipulation vnode free list
2001-02-23Try to avoid sleeping in the syncer waiting for vnode locks.Constantine Sapuntzakis
From FreeBSD
2001-02-21Latest soft updates from FreeBSD/Kirk McKusickConstantine Sapuntzakis
Snapshot-related code has been commented out.
2000-03-23No need for our own declaration of lbolt.Artur Grabowski
2000-01-14Drop SYNCER_MAXDELAY to 32. The delay is never bigger than 30 anyway.Artur Grabowski
1999-12-05Add a new vnode flag "VONSYNCLIST" that indicates if the vnode is on theArtur Grabowski
syncers work list. From NetBSD.
1999-12-05Add a new function "speedup_syncer()" that pushes the syncer to work harder.Artur Grabowski
Used by the new soft updates code.
1999-12-05Unlock the vnode in inactive even when v_usecount == 0.Artur Grabowski
1999-12-05Release mountlist_slock if vfs_busy fails.Artur Grabowski
1999-12-05Indentation fixes.Artur Grabowski
1998-11-12More soft updates fixes from Kirk McKusick.Constantine Sapuntzakis
1998-08-06Rename vop_revoke, vn_bwrite, vop_noislocked, vop_nolock, vop_nounlockConstantine Sapuntzakis
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).
1998-03-14Changes necesary for new soft updates code. Doesn't affect old soft updatesTodd C. Miller
or kernels without soft updates...
1998-01-11Fix a couple spinlock references. More code motion in vfs_subr.cConstantine Sapuntzakis
1998-01-10A couple more splbio()s in vfs_bio plus moving around a couple functions.Constantine Sapuntzakis