summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_sync.c
AgeCommit message (Collapse)Author
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