summaryrefslogtreecommitdiffstats
path: root/sys/ufs
Commit message (Collapse)AuthorAgeFilesLines
* Removed redundant newlines that were in some panic strings.dg1995-03-197-17/+17
|
* Backed out change to panic call: As Chris just pointed out to me, panic()dg1995-03-191-5/+3
| | | | | does indeed work like printf(). gdb gets the string untranslated for some reason.
* Fix a call to panic: panic doesn't do token substitution on the panicdg1995-03-191-3/+5
| | | | string.
* Don't sync the inode date changes of character special devicesdg1995-03-181-3/+3
| | | | | | | | | | during the FS sync. The system would appear to hang momentarily if there was a large backlog of I/O. This is because the vnode remains locked during the output - preventing normal character I/O. The problem was exacerbated by the FFS contiguous block allocation fixes and a semi-broken disksort(). The inode/date will still be synced during a normal FS dismount and whenever the inode is changed for other reasons.
* Woops, add back that #define...it's used later in the file.dg1995-03-181-1/+8
|
* Fixed comments and removed b_cylinder #define.dg1995-03-181-13/+5
|
* Integrated change from 1.1.5: Fixed broken disksort to sort by pblknodg1995-03-181-13/+6
| | | | rather than by cylinder.
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-164-14/+4
| | | | | | (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.
* Finish the previous change. The device name got lost in diskerr().bde1995-03-121-2/+2
|
* Removed gratuitous and *extremely* evil setting of OBJ_INTERNAL. Thisdg1995-03-111-3/+1
| | | | | caused a cascade of problems including kernel memory corruption, file corruption, system hangs, and panics.
* Increased default minfree to 8%.dg1995-03-101-2/+2
|
* The threshold for switching from time-space and space-time is too smalldg1995-03-101-2/+2
| | | | | | when minfree is 5%...so make it stay at space in this case. Submitted by: Kirk McKusick
* Patch to fix quota panic from Mike Karels:dg1995-03-101-3/+4
| | | | | | | allow Q_SYNC regardless of "target" uid, we allow it with -1; fix bug that caused all ops to refer to user quotas, not group. Submitted by: Mike Karels
* Removed obsolete vtrace() remnants.dg1995-03-043-19/+7
|
* Fixes from John Dyson to work around vnode lock hang. Basically, removedg1995-03-032-3/+11
| | | | | | the VOP_BMAP calls, and add one to bdwrite. Submitted by: John Dyson
* Don't try to make use of useless rotational position optimisation,se1995-02-271-8/+8
| | | | | | | | if all free blocks are in the same bucket (i.e. NRPOS == 1). Else a free block is choosen, possibly from a different cylinder, even if the block succeeding bpref was free ... Submitted by: se
* Use dsname() to get consistent names.bde1995-02-221-13/+6
|
* Adjust slice names in diskerr() for the rearranged slice numbers. Thebde1995-02-161-11/+11
| | | | | | | | | | | | mapping from numbers to names is messy for backwards compatibility. E.g., for driver "sd", unit "0": slice 0: omit the slice number for compatibility; names are sd0[a-h]. slice 1: omit the partition letter 'c' because the whole disk device shouldn't have anything to do with partitions; sd0 is the only name. slices 2-31: subtract 1 from slice number to compensate for the compatibility slice 0; names are sd0s[1-30][a-h].
* YF fix.phk1995-02-142-12/+18
|
* Fixed bmap run-length brokeness.dg1995-02-031-1/+3
| | | | | | Use bmap run-length extension when doing clustered paging. Submitted by: John Dyson
* Removed some unused/obsolete code.dg1995-01-241-7/+1
| | | | Submitted by: John Dyson
* These changes embody the support of the fully coherent merged VM buffer cache,dg1995-01-0911-42/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Change panic messges that are ffs_blah functions to say they are ffs notgibbs1995-01-041-3/+3
| | | | ufs functions.
* LFS stability patches. There is still a problem with directory updategibbs1995-01-045-61/+87
| | | | | | | ordering that can prove fatal during large batches of deletes, but this is much better than it was. I probably won't be putting much more time into this until Seltzer releases her new version of LFS which has fragment support. This should be availible just before USENIX.
* Use the same current time throughout ffs_update().bde1994-12-271-11/+27
| | | | | | Update some macro names in comments. Don't use MNT_WAIT for something not related to mounting.
* Use the same current time throughout ITIMES(). I want all currentbde1994-12-271-7/+15
| | | | | | | | timestamps for an atomic operation such as rename() on a local file system to be identical. Uniformize yet another idempotency ifdef. The comment nesting was bogus.
* Print `slicename' and not a bogus pointer in diskerr()bde1994-12-221-2/+2
|
* Duplicate readdisklabel() and writedisklabel() and remove DOS stuff frombde1994-12-161-7/+145
| | | | | | | from the copies to create correct_readdisklabel() and correct_writedisklabel(). Print the slice number in diskerr() if it is nonzero.
* Submitted by: Kirk McKusickbde1994-11-261-2/+2
| | | | | | | | | Allow chown() to return success if the gid isn't changed even if the gid is not the caller's. Such gids are normal for files created in world-writable directories sucj as /tmp. This "fixes" annoying error messages for mv'ing files created in /tmp to another file system. mv still preserves the foreign gid of /tmp, but now does it silently.
* John Dyson's patches (and a few from me too) to LFS to use a differentgibbs1994-11-175-17/+111
| | | | | | | | | | | | | | | | | | | | | buffering scheme and make it more in tune with FreeBSD's vfs_bio implementation. The filesystem seems fairly stable, but I wouldn't recommend it to anyone not willing to experience problems. This is very green code and has the limitation that YOU CAN ONLY HAVE ONE LFS PARTITION MOUNTED AT A TIME. What LFS is good for: Non fsynced writes FASTER THAN FFS Large deletions Increadibly fast Reads are a little bit slower than FFS right now, but that is a factor of how under optimized this code is. LFS should in theory perform at least as well as FFS under fsync (iozone) type loads, and this is what I'm currently working on. Reviewed by: Justin Gibbs Submitted by: John Dyson Obtained from:
* Remove unused `struct disklabel' (the declarations that used it went away).bde1994-11-141-5/+4
| | | | Uniformize idempotency ifdef.
* Undo a previous change. <sys/disklabel.h> was broken, not these files.bde1994-11-142-4/+2
|
* From: fredriks@mcs.com (Lars Fredriksen)jkh1994-10-282-2/+4
| | | | | | | ... It turns out that these files do not include <sys/dkbad.h> before <sys/disklabel.h>. Submitted by: fredriks
* Julian Elischer's disklabel fixes.jkh1994-10-272-95/+147
|
* Restrict fs_maxfilesize to 2^40, and check against this in ffs_truncate().dg1994-10-222-5/+8
| | | | | | | | | This is part of a bug fix from Kirk McKusick to work around problems in FFS related to the blkno of a 64bit offset not fitting into an int. Note the proper solution would be to deal with 64bit block numbers, but doing this would require sweeping changes; some other day perhaps. Submitted by: Marshall Kirk McKusick
* Make my ALLDEVS kernel compile (basically, LINT minus a lot of options).wollman1994-10-211-1/+6
| | | | This involves fixing a few things I broke last time.
* This basically allows you to stick a disklabel on any partition.phk1994-10-171-1/+4
| | | | | | | | For it to be useful, you must stick your disklabel on the partition which starts where the MBR says FreeBSD lives. If you don't do that, you might get a bad day. Oh, that probably also means that putting swap there is a bad idea...
* Add back variable declaration removed by wrong previous cleanupsache1994-10-151-1/+4
|
* Add back variable declaration removed by wrong prevous cleanups.ache1994-10-151-1/+4
|
* Cosmetics. make gcc less noisy. Still some way to go here.phk1994-10-1011-63/+94
|
* Got rid of map.h. It's a leftover from the rmap code, and we use rlists.dg1994-10-091-2/+1
| | | | Changed swapmap into swaplist.
* POSSIBLE BOGUS CODE found, (related to dos-partitions) in ufs_disksubr.c,phk1994-10-088-56/+103
| | | | | look for CC_WALL. Cosmetics, a couple of unused vars.
* Cosmetics for gcc -Wall. A couple of unused "int i"'s removed and a couple ofphk1994-10-081-24/+46
| | | | prototypes added. And the usual () work.
* Cosmetics.phk1994-10-081-37/+58
|
* Use tsleep() rather than sleep so that 'ps' is more informative aboutdg1994-10-064-15/+15
| | | | the wait.
* Make NFS ask the filesystems for directory cookies instead of making themdfr1994-09-281-1/+41
| | | | itself.
* Moved the "relookup" routine into vfs_lookup.c from ufs/ufs/ufs_vnops.c.phk1994-09-271-155/+1
| | | | Several FS's use this, so it doesn't belong in ufs. (unionfs, msdosfs and ufs)
* Removed unimplemented subr_rmap.c and unused references to it.dg1994-09-251-5/+1
|
* More loadable VFS changes:wollman1994-09-226-32/+6
| | | | | | | | - Make a number of filesystems work again when they are statically compiled (blush) - FIFOs are no longer optional; ``options FIFO'' removed from distributed config files.
* Call ffs ``ufs'' for the benefit of poor, confused user-land programs.wollman1994-09-221-2/+2
|
OpenPOWER on IntegriCloud