Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | decouple the allocated number of vnodes from the "desiredvnodes" variable | 2007-06-01 | 1 | -3/+11 | ||
| | | | | | | | | | | | | which is used to size a zillion other things that increasing excessively has been shown to cause problems - so that we may incrementally look at increasing those other things without making the kernel unusable. This diff effectivly increases the number of vnodes back to the number of buffers, as in the earlier dynamic buffer cache commits, without increasing anything else (namecache, softdeps, etc. etc.) ok pedro@ tedu@ art@ thib@ | |||||
* | remove some silly casts, no real change | 2007-05-31 | 1 | -6/+6 | ||
| | ||||||
* | NFSv2 cannot cope with a big number of vnodes, so revert to NPROC-based | 2007-05-31 | 1 | -4/+1 | ||
| | | | | calculation until the problem is fixed, okay beck@ art@ | |||||
* | back out vfs change - todd fries has seen afs issues, and I'm suspicious | 2007-05-30 | 1 | -56/+37 | ||
| | | | | this can cause other problems. | |||||
* | Step one of some vnode improvements - change getnewvnode to | 2007-05-29 | 1 | -37/+56 | ||
| | | | | | | | | actually allocate "desiredvnodes" - add a vdrop to un-hold a vnode held with vhold, and change the name cache to make use of vhold/vdrop, while keeping track of which vnodes are referred to by which cache entries to correctly hold/drop vnodes when the cache uses them. ok thib@, tedu@, art@ | |||||
* | de-inline vref(); | 2007-05-28 | 1 | -6/+4 | ||
| | | | | ok pedro@ | |||||
* | Dynamic buffer cache. Initial diff from mickey@, okay art@ beck@ toby@ | 2007-05-26 | 1 | -4/+3 | ||
| | | | | deraadt@ dlg@. | |||||
* | Nuke a bunch of simpelocks and associated goo. | 2007-05-26 | 1 | -50/+1 | ||
| | | | | ok art@ | |||||
* | Collapse struct v_selectinfo in struct vnode, remove the | 2007-05-17 | 1 | -3/+1 | ||
| | | | | | | | simplelock and reuse the name for the selinfo member. Clean-up accordingly. ok tedu@,art@ | |||||
* | kinfo_vgetfailed has not been used for > 8 years | 2007-05-09 | 1 | -2/+1 | ||
| | ||||||
* | Move the declaration of VN_KNOTE() into vnode.h instead of having | 2007-04-13 | 1 | -4/+1 | ||
| | | | | | | multiple defines all over; ok tedu@ | |||||
* | Remove comments talking about vnode interlock. No binary change. | 2007-04-13 | 1 | -4/+2 | ||
| | | | | ok thib | |||||
* | Remove the simplelock argument from vrecycle(); | 2007-04-11 | 1 | -4/+2 | ||
| | | | | ok pedro@, sturm@ | |||||
* | Remove the v_interlock simplelock from the vnode structure. | 2007-03-21 | 1 | -61/+10 | ||
| | | | | | | | | | Zap all calls to simple_lock/unlock() on it (those calls are #defined away though). Remove the LK_INTERLOCK from the calls to vn_lock() and cleanup the filesystems wich implement VOP_LOCK(). (by remvoing the v_interlock from there calls to lockmgr()). ok pedro@, art@, tedu@ | |||||
* | better desiredvnodes not based on maxusers; pedro@ deraadt@ ok | 2007-03-12 | 1 | -1/+4 | ||
| | ||||||
* | for vfsconf sysctl, do not leak kernel sensors out to userland | 2007-02-20 | 1 | -4/+15 | ||
| | | | | ok art thib | |||||
* | fix ddb buf printing for daddr_t growth to 64bit; | 2007-02-17 | 1 | -3/+3 | ||
| | | | | from juan hernandez gonzalez; tested by bluhm@ | |||||
* | Consistently spell FALLTHROUGH to appease lint. | 2007-02-14 | 1 | -2/+2 | ||
| | | | | ok kettenis@ cloder@ tom@ henning@ | |||||
* | fix ddb buf print | 2007-02-13 | 1 | -3/+3 | ||
| | ||||||
* | vprint() should be defined if DIAGNOSTIC || DEBUG. Noticed by (and | 2006-11-20 | 1 | -3/+3 | ||
| | | | | | | | original diff from) Jake < antipsychic (at) hotmail.com >. Discussed with Mickey and Miod. ok miod@ pedro@ | |||||
* | use vp->v_type to index into vtypes rather then vp->v_tag, | 2006-10-30 | 1 | -3/+3 | ||
| | | | | | | fixing odd output in the 'show vnode' ddb code. ok mickey@ | |||||
* | add mount/vnode/buf and softdep printing commands; tested on a few archs and will make pedro happy too (; | 2006-07-11 | 1 | -1/+126 | ||
| | ||||||
* | Fix tab where space was meant | 2006-07-09 | 1 | -2/+2 | ||
| | ||||||
* | vinvalbuf() debugging aid, under VFSDEBUG. | 2006-07-08 | 1 | -1/+6 | ||
| | | | | ok pedro@ | |||||
* | also print vp in vprint (useful for debugging); pedro@ ok | 2006-07-03 | 1 | -3/+3 | ||
| | ||||||
* | rename vfs_busy() flags VB_UMIGNORE/VB_UMWAIT to VB_NOWAIT/VB_WAIT | 2006-06-25 | 1 | -7/+7 | ||
| | | | | requested by and ok pedro | |||||
* | move vfs_busy() to rwlocks and properly hide the locking api from vfs | 2006-06-14 | 1 | -32/+29 | ||
| | | | | ok tedu, pedro | |||||
* | Add a clonable devices implementation. Hacked along with thib@, input | 2006-06-02 | 1 | -1/+2 | ||
| | | | | from krw@ and toby@, subliminal prodding from dlg@, okay deraadt@. | |||||
* | Spacing in vfs_sysctl() | 2006-05-28 | 1 | -1/+10 | ||
| | ||||||
* | forgot to remove this sentence from the comment | 2006-05-07 | 1 | -2/+2 | ||
| | | | | ok pedro | |||||
* | remove the simplelock argument from vfs_busy() which is currently not | 2006-04-30 | 1 | -10/+8 | ||
| | | | | | | used and will never be used this way in VFS requested by and ok pedro, ok krw, biorn | |||||
* | Remove unused mount list simple_lock() goo | 2006-04-19 | 1 | -15/+6 | ||
| | ||||||
* | Put vprint() under DIAGNOSTIC, as to save space in generated ramdisks. | 2006-01-09 | 1 | -1/+11 | ||
| | | | | Inspiration from miod@, okay deraadt@. Tested on i386, macppc and amd64. | |||||
* | No need for vfs_busy() and vfs_unbusy() to take a process pointer | 2005-11-30 | 1 | -17/+12 | ||
| | | | | anymore. Testing by jolan@, thanks. | |||||
* | Remove kernfs, okay deraadt@. | 2005-11-24 | 1 | -3/+3 | ||
| | ||||||
* | Remove unnecessary lockmgr() archaism that was costing too much in terms | 2005-11-19 | 1 | -3/+3 | ||
| | | | | | | of panics and bugfixes. Access curproc directly, do not expect a process pointer as an argument. Should fix many "process context required" bugs. Incentive and okay millert@, okay marc@. Various testing, thanks. | |||||
* | Work around yet another race on non-locking file systems: when calling | 2005-11-18 | 1 | -3/+3 | ||
| | | | | | | VOP_INACTIVE() in vrele() and vput(), we may sleep. Since there's no locking of any kind, someone can vget() the vnode and vrele() it while we sleep, beating us in getting the vnode on the free list. | |||||
* | Missed one use of 'register' | 2005-11-08 | 1 | -2/+2 | ||
| | ||||||
* | Use ANSI function declarations and deregister, no binary change | 2005-11-07 | 1 | -197/+85 | ||
| | ||||||
* | Remove v_vnlock from struct vnode, okay krw@ tedu@ | 2005-10-19 | 1 | -3/+1 | ||
| | ||||||
* | RIP stackable filesystems, ok marius@ tedu@, discussed with deraadt@ | 2005-05-26 | 1 | -5/+1 | ||
| | ||||||
* | when a device vnode associated with a mount point disappears, mark the | 2005-05-24 | 1 | -1/+17 | ||
| | | | | filesystem as doomed and unmount it | |||||
* | put VLOCKSWORK stuff under a single option, VFSDEBUG | 2005-05-22 | 1 | -2/+2 | ||
| | ||||||
* | check for VBIOONFREELIST and VBIOONSYNCLIST in vprint(), okay marius@ | 2005-05-01 | 1 | -2/+6 | ||
| | ||||||
* | always good to check for invalid values. ok marius pedro | 2005-03-24 | 1 | -2/+3 | ||
| | ||||||
* | change vget() to only put a vnode back on the free lists if it actually | 2005-01-10 | 1 | -6/+8 | ||
| | | | | | was there. should fix a (rare) corner case introduced by my last commit. ok tedu@, testing by joris, moritz@, danh@, otto@ and krw@. many thanks. | |||||
* | sprinkle some more list macros in here | 2004-12-31 | 1 | -5/+6 | ||
| | ||||||
* | when releasing a vnode, make it inactive before sticking it to one of | 2004-12-31 | 1 | -6/+20 | ||
| | | | | | | | | | the free lists. should fix some races on filesystems that don't have locks, such as nfs. also, it allows for a more straightforward way of releasing vnodes (nodes that are going to be recycled don't have to be moved to the head of the list). tested by many, thanks. ok tedu@ deraadt@ | |||||
* | clean dirty accident by miod | 2004-12-28 | 1 | -2/+2 | ||
| | ||||||
* | Use list and queue macros where applicable to make the code easier to read; | 2004-12-26 | 1 | -17/+18 | ||
| | | | | no change in compiler assembly output. |