aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/vfs_cluster.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix more clustering bugs for FSes with block sizes < PAGE_SIZE.John Dyson1995-11-201-6/+2
| | | | Notes: svn path=/head/; revision=12411
* Changed an incorrect splhigh to splbio.John Dyson1995-11-191-2/+2
| | | | Notes: svn path=/head/; revision=12407
* General fixes to the vfs clustring code:John Dyson1995-11-191-115/+77
| | | | | | | | | | | | | | 1) Make cluster buffer list be a non-malloced chain. This eliminates yet another 'evil' M_WAITOK and generally cleans up the code. 2) Fix write clustering for ext2fs. It was just broken. Also, ffs clustering had an efficiency problem that more bawrites were happening than should have been. 3) Make changes to buf.h to support the above, plus remove b_pfcent at the request of David Greenman. Reviewed by: davidg (partially) Notes: svn path=/head/; revision=12404
* Change some of the debug sysctl vars. The semantics of these will change.Poul-Henning Kamp1995-11-141-2/+2
| | | | Notes: svn path=/head/; revision=12283
* Second batch of cleanup changes.Poul-Henning Kamp1995-10-291-5/+1
| | | | | | | | This time mostly making a lot of things static and some unused variables here and there. Notes: svn path=/head/; revision=11921
* Work-around a problem in the clustering code on non-VMIO buffers. TheJohn Dyson1995-10-091-2/+3
| | | | | | | | write-side needs rewriting, but this makes a ktrace panic go away for now. Notes: svn path=/head/; revision=11340
* These changes fix a bug in the clustering code that I made worse when addingJohn Dyson1995-09-231-6/+15
| | | | | | | | | | | | | | support for EXT2FS. Note that the Sig-11 problems appear to be caused by this, but there is still probably an underlying VM problem that let this clustering bug cause vnode objects to appear to be corrupted. The direct manifestation of this bug would have been severely mis-read files. It is possible that processes would Sig-11 on very damaged input files and might explain the mysterious differences in system behaviour when phk's malloc is being used. Notes: svn path=/head/; revision=10978
* Added VOP_GETPAGES/VOP_PUTPAGES and also the "backwards" block countJohn Dyson1995-09-041-3/+3
| | | | | | | for VOP_BMAP. Updated affected filesystems... Notes: svn path=/head/; revision=10551
* VOP_BMAP will eventually need an additional argument, but not yet. ThisJohn Dyson1995-09-031-3/+3
| | | | | | | | backs out that modification to minimize the window during which this is not yet correct. Notes: svn path=/head/; revision=10545
* Improvements to the cluster code, minor vfs_bio efficiency:John Dyson1995-09-031-84/+163
| | | | | | | | | | | | Better performance -- more aggressive read-ahead under certain circumstanses. Mods to support clustering on small ( < PAGE_SIZE) block size filesystems (e.g. ext2fs, msdosfs.) Notes: svn path=/head/; revision=10541
* Don't include vm_pageout.h.David Greenman1995-06-281-2/+1
| | | | Notes: svn path=/head/; revision=9357
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-3/+3
| | | | Notes: svn path=/head/; revision=8876
* Check for case of blkno already known to avoid unnecessary VOP_BMAP's.David Greenman1995-04-041-1/+2
| | | | | | | Submitted by: John Dyson Notes: svn path=/head/; revision=7613
* Fix from Doug Rabson: Don't try to release a pbuf we didn't get.David Greenman1995-03-191-4/+5
| | | | | | | Minor style change by me. Notes: svn path=/head/; revision=7164
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'Bruce Evans1995-03-161-4/+3
| | | | | | | | | (except in netccitt, netiso and netns) and most of the warnings from `gcc -Wnested-externs'. Fix all the bugs found. There were no serious ones. Notes: svn path=/head/; revision=7090
* Removed obsolete vtrace() remnants.David Greenman1995-03-041-2/+1
| | | | Notes: svn path=/head/; revision=6875
* Don't try to cluster busy buffers.David Greenman1995-03-021-16/+35
| | | | | | | Submitted by: John Dyson Notes: svn path=/head/; revision=6837
* vfs_cluster.c:David Greenman1995-02-221-17/+18
| | | | | | | | | | | | Various more tweaks from John Dyson to improve read ahead calculations. vfs_subr.c: Only wakeup if numoutput is 0 in vwakeup(). Submitted by: John Dyson Notes: svn path=/head/; revision=6621
* Fixed a variety of deadlock and panic bugs, removed the bypass code, andDavid Greenman1995-01-241-11/+28
| | | | | | | | | | | implemented the ability to limit bufferspace by memory consumed. (vfs_bio.c) Fixed recently introduced bugs that caused extra I/O to happen in some cases. (vfs_cluster.c) Submitted by: John Dyson Notes: svn path=/head/; revision=5839
* These changes embody the support of the fully coherent merged VM buffer cache,David Greenman1995-01-091-387/+264
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | much higher filesystem I/O performance, and much better paging performance. It represents the culmination of over 6 months of R&D. The majority of the merged VM/cache work is by John Dyson. The following highlights the most significant changes. Additionally, there are (mostly minor) changes to the various filesystem modules (nfs, msdosfs, etc) to support the new VM/buffer scheme. vfs_bio.c: Significant rewrite of most of vfs_bio to support the merged VM buffer cache scheme. The scheme is almost fully compatible with the old filesystem interface. Significant improvement in the number of opportunities for write clustering. vfs_cluster.c, vfs_subr.c Upgrade and performance enhancements in vfs layer code to support merged VM/buffer cache. Fixup of vfs_cluster to eliminate the bogus pagemove stuff. vm_object.c: Yet more improvements in the collapse code. Elimination of some windows that can cause list corruption. vm_pageout.c: Fixed it, it really works better now. Somehow in 2.0, some "enhancements" broke the code. This code has been reworked from the ground-up. vm_fault.c, vm_page.c, pmap.c, vm_object.c Support for small-block filesystems with merged VM/buffer cache scheme. pmap.c vm_map.c Dynamic kernel VM size, now we dont have to pre-allocate excessive numbers of kernel PTs. vm_glue.c Much simpler and more effective swapping code. No more gratuitous swapping. proc.h Fixed the problem that the p_lock flag was not being cleared on a fork. swap_pager.c, vnode_pager.c Removal of old vfs_bio cruft to support the past pseudo-coherency. Now the code doesn't need it anymore. machdep.c Changes to better support the parameter values for the merged VM/buffer cache scheme. machdep.c, kern_exec.c, vm_glue.c Implemented a seperate submap for temporary exec string space and another one to contain process upages. This eliminates all map fragmentation problems that previously existed. ffs_inode.c, ufs_inode.c, ufs_readwrite.c Changes for merged VM/buffer cache. Add "bypass" support for sneaking in on busy buffers. Submitted by: John Dyson and David Greenman Notes: svn path=/head/; revision=5455
* Fix possible off by one in b_save allocation size.David Greenman1994-12-181-2/+2
| | | | Notes: svn path=/head/; revision=5142
* Cosmetics: added ()'s and fixed prinf-formats to make gcc silent.Poul-Henning Kamp1994-10-081-6/+6
| | | | Notes: svn path=/head/; revision=3441
* Temporarily (?) disable block reallocation until either the real bug isDavid Greenman1994-09-241-3/+3
| | | | | | | found or we throw out the vfs cluster code entirely. Notes: svn path=/head/; revision=3055
* Changed B_AGE policy to work correctly in a world with relatively largeDavid Greenman1994-08-081-2/+2
| | | | | | | buffer caches. The old policy generally ended up caching nothing. Notes: svn path=/head/; revision=1937
* Added $Id$David Greenman1994-08-021-0/+1
| | | | Notes: svn path=/head/; revision=1817
* The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.Rodney W. Grimes1994-05-251-1/+2
| | | | | | | | Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman Notes: svn path=/head/; revision=1549
* BSD 4.4 Lite Kernel SourcesRodney W. Grimes1994-05-241-0/+746
Notes: svn path=/head/; revision=1541