summaryrefslogtreecommitdiffstats
path: root/sys/sys/namei.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge in Lite2: add whiteout flags to namei parameter descriptorshsu1996-03-111-16/+18
| | | | | | add function prototype for relookup() Spruce up number formatting. Reviewed by: davidg & bde
* Fix a bunch of spelling errors in the comment fields ofmpp1996-01-301-2/+2
| | | | a bunch of system include files.
* Reviewed by: julian with quick glances by bruce and othersjulian1995-08-281-2/+3
| | | | | | | | | | | | | | | | | | | | | | Submitted by: terry (terry lambert) This is a composite of 3 patch sets submitted by terry. they are: New low-level init code that supports loadbal modules better some cleanups in the namei code to help terry in 16-bit character support some changes to the mount-root code to make it a little more modular.. NOTE: mounting root off cdrom or NFS MIGHT be broken as I haven't been able to test those cases.. certainly mounting root of disk still works just fine.. mfs should work but is untested. (tomorrows task) The low level init stuff includes a total rewrite of init_main.c to make it possible for new modules to have an init phase by simply adding an entry to a TEXT_SET (or is it DATA_SET) list. thus a new module can be added to the kernel without editing any other files other than the 'files' file.
* Ignore trailing slashes in pathnames that "refer to a directory",bde1995-07-311-1/+2
| | | | | | | | | | | as is required to be POSIXLY_CORRECT and "right". I interpret "referring to a directory" as being a directory or becoming a directory. E.g., the trailing slashes in mkdir("/nonesuch/"), rename("/tmp", /nonesuch/") and link("/tmp", "/root_can_like_dirs/") are ignored because the target will become a directory if the syscall succeeds. A trailing slash on a symlink causes the symlink to be followed (this is a bug if the symlink doesn't point to a directory; fix later).
* Eliminate sloppy common-style declarations. There should be none left forbde1995-07-291-3/+8
| | | | the LINT configuation.
* Clean up and improve the namecache.phk1995-03-091-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. We always keep one 16th of the vnodes on the freelist, so that the namecache doesn't get trashed. It used to be that it wasn't a problem, but the only vnodes getting released these days are directories and things which Clean up and improve the namecache. 1. We always keep one 16th of the vnodes on the freelist, so that the namecache doesn't get trashed. It used to be that it wasn't a problem, but the only vnodes getting released these days are directories and things which gets forced out of the VM/cache. The latter is not numerous enough to keep the pool of vnodes needed for the namecache sufficiently big. 2. Purge invalid entries in the namecache as soon as we notice them. This avoids a stale entry pushing out a valid entry on the LRU list. 3. Speed up the lookup in the namecache by avoid a special case branch. 4. Make the cache purge routines do the thing they're supposed to, and in a decently efficient manner. 5. Make the size of the namecache follow the number of vnodes, so that we can always point to all the vnodes we have in core. 6. Readability has gone way up. 7. Added a "options NCH_STATISTICS" feature that will gather more detailed statistics on the performance of the namecache. Reviewed by: davidg
* Update vfs_cache.c to use the <sys/queue.h> macros. This makes it easierphk1995-03-061-5/+5
| | | | | | | to read, but doesn't change the speed. Reviewed by: phk Obtained from: via NetBSD
* Moved the "relookup" routine into vfs_lookup.c from ufs/ufs/ufs_vnops.c.phk1994-09-271-1/+3
| | | | Several FS's use this, so it doesn't belong in ufs. (unionfs, msdosfs and ufs)
* Added $Id$dg1994-08-021-0/+1
|
* BSD 4.4 Lite Kernel Sourcesrgrimes1994-05-241-0/+188
OpenPOWER on IntegriCloud