summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_sync.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* silly typo...pedro2004-10-291-2/+2
|
* protect code dealing with the vnode sync list with splbio(). fixes thepedro2004-08-151-2/+13
| | | | | 'fsync failed' panic on amd64. discussed with and ok'd by art@, tedu@ and deraadt@. tested by many (thanks).
* Print more diagnostics on fsync failure in sched_sync.art2004-08-031-2/+7
|
* First step towards more sane time handling in the kernel -- this changestholo2004-06-211-3/+3
| | | | | | | | things such that code that only need a second-resolution uptime or wall time, and used to get that from time.tv_secs or mono_time.tv_secs now get this from separate time_t globals time_second and time_uptime. ok art@ niklas@ nordin@
* match syscallargs comments with realityhenning2003-09-011-1/+4
| | | | | from Patrick Latifi <patrick.l@hermes.usherb.ca> ok jason@ tedu@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* First round of __P removal in sysmillert2002-03-141-7/+7
|
* UBC was a disaster. It worked very good when it worked, but on someart2001-12-191-7/+10
| | | | | | | | | 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.
* Merge in the unified buffer cache code as found in NetBSD 2001/03/10. Theart2001-11-271-10/+7
| | | | | | | 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.
* Make sure that stuff on the syncer worklist has VBIOONSYNCLIST setart2001-11-151-2/+3
| | | | and stuff that isn't on the worklist doesn't have it set.
* KNFderaadt2001-06-221-20/+21
|
* No need to extern mountlist_slock here.art2001-03-161-3/+1
|
* Instead of doing VOP_ISLOCKED, vn_lock(..LK_RETRY..) we can do vn_lock(..LK_NOWAIT..).art2001-02-271-6/+12
| | | | | | | 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.
* Move splbio's around so that they cover the data structures they need tocsapuntz2001-02-241-9/+9
| | | | and don't cover the ones they don't
* Cleanup of vnode interface continues. Get rid of VHOLD/HOLDRELE.csapuntz2001-02-241-3/+3
| | | | | | | | | | | | 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
* Try to avoid sleeping in the syncer waiting for vnode locks.csapuntz2001-02-231-5/+18
| | | | From FreeBSD
* Latest soft updates from FreeBSD/Kirk McKusickcsapuntz2001-02-211-18/+17
| | | | Snapshot-related code has been commented out.
* No need for our own declaration of lbolt.art2000-03-231-4/+1
|
* Drop SYNCER_MAXDELAY to 32. The delay is never bigger than 30 anyway.art2000-01-141-2/+2
|
* Add a new vnode flag "VONSYNCLIST" that indicates if the vnode is on theart1999-12-051-4/+6
| | | | | syncers work list. From NetBSD.
* Add a new function "speedup_syncer()" that pushes the syncer to work harder.art1999-12-051-2/+29
| | | | Used by the new soft updates code.
* Unlock the vnode in inactive even when v_usecount == 0.art1999-12-051-2/+4
|
* Release mountlist_slock if vfs_busy fails.art1999-12-051-2/+4
|
* Indentation fixes.art1999-12-051-84/+82
|
* More soft updates fixes from Kirk McKusick.csapuntz1998-11-121-12/+21
|
* Rename vop_revoke, vn_bwrite, vop_noislocked, vop_nolock, vop_nounlockcsapuntz1998-08-061-4/+4
| | | | | | | | | | | | 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).
* Changes necesary for new soft updates code. Doesn't affect old soft updatesmillert1998-03-141-4/+19
| | | | or kernels without soft updates...
* Fix a couple spinlock references. More code motion in vfs_subr.ccsapuntz1998-01-111-1/+3
|
* A couple more splbio()s in vfs_bio plus moving around a couple functions.csapuntz1998-01-101-0/+342