summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_node.c
AgeCommit message (Collapse)Author
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-07-02use hash.h for nfs_hash as well as namei's hashEric Jackson
ok art@ costa@
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-23Sigh. The diff is out for testing for three months without a single problem.Artur Grabowski
Two days after commit people report serious lockups all over the place. Back out nfs locking changes.
2002-02-22More locking in the NFS codeConstantine Sapuntzakis
2002-01-23Pool deals fairly well with physical memory shortage, but it doesn't dealArtur Grabowski
well (not at all) with shortages of the vm_map where the pages are mapped (usually kmem_map). Try to deal with it: - group all information the backend allocator for a pool in a separate struct. The pool will only have a pointer to that struct. - change the pool_init API to reflect that. - link all pools allocating from the same allocator on a linked list. - Since an allocator is responsible to wait for physical memory it will only fail (waitok) when it runs out of its backing vm_map, carefully drain pools using the same allocator so that va space is freed. (see comments in code for caveats and details). - change pool_reclaim to return if it actually succeeded to free some memory, use that information to make draining easier and more efficient. - get rid of PR_URGENT, noone uses it.
2002-01-16use queue.h macro'sEric Jackson
remove register
2001-12-19UBC was a disaster. It worked very good when it worked, but on someArtur Grabowski
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.
2001-12-01Unlock and drop vnode if VOP_GETATTR fails.Artur Grabowski
2001-11-27Merge in the unified buffer cache code as found in NetBSD 2001/03/10. TheArtur Grabowski
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.
2001-11-15Remove creds from struct buf, move the creds that nfs need into the nfs node.Artur Grabowski
While in the area, convert nfs node allocation from malloc to pool and do some cleanups. Based on the UBC changes in NetBSD. niklas@ ok.
2001-06-25Remove NQNFSConstantine Sapuntzakis
2001-06-24Change handling of NFS root vnode. Moves recognition of NFS root vnode intoConstantine Sapuntzakis
nfs_nget. Root vnode no longer pinned in inode cache. Also, forceable unmounts of an nfs file system now work even if there are extra references to the NFS root.
1999-04-28zap the newhashinit hack.Artur Grabowski
Add an extra flag to hashinit telling if it should wait in malloc. update all calls to hashinit.
1998-08-21Fix malloc race in nfs_node.cConstantine Sapuntzakis
1998-08-06Rename vop_revoke, vn_bwrite, vop_noislocked, vop_nolock, vop_nounlockConstantine Sapuntzakis
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).
1997-11-06Updates for VFS Lite 2 + soft update.Constantine Sapuntzakis
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis
1997-04-18Don't set sillyrename field to 0 for directories, as it's in a union withTheo de Raadt
the head of the cookie list. Fixes PR 3215, fix supplied by Hiroshi Tezuka <tezuka@trc.rwcp.or.jp>. Should also fix M_NFSDIROFF memory leak; fvdl
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-04-17Minor cleanups. Checked against Lite2.Michael Shalayeff
(NetBSD's was really just a Lite2's, but w/ 64bit support)
1996-03-31From NetBSD: NFSv3 import (tomorrow's Net's kernel)Michael Shalayeff
Open's patches kept in. i'll possibly take a look at Lite2 soon, is there smth usefull ?..
1996-02-29From NetBSD: merge with 960217 (still NFSv2)Niklas Hallqvist
1995-12-21from cgd; handle 64-bit pointers and longsTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt