summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_bio.c
AgeCommit message (Collapse)Author
2007-06-01pedro ok'd this ~3500 line diff which removes the vop argumentTheo de Raadt
"ap = v" comments in under 8 seconds, so it must be ok. and it compiles too.
2007-06-01daddr_t -> daddr64_t;Thordur I. Bjornsson
Basically the usage of daddr_t was to math out arguments to nfs_getcacheblk, wich calls getblk(); ok deraadt@
2006-11-29Kernel stack can be swapped. This means that stuff that's on the stackMiod Vallat
should never be referenced outside the context of the process to which this stack belongs unless we do the PHOLD/PRELE dance. Loads of code doesn't follow the rules here. Instead of trying to track down all offenders and fix this hairy situation, it makes much more sense to not swap kernel stacks. From art@, tested by many some time ago.
2006-11-01move the declaration of nfsstats from nfs_bio.c toThordur I. Bjornsson
nfs_subs.c so it gets pulled in for NFSSERVER only kernels. ok deraadt@,krw@
2006-04-20Remove unused debug code that sneaked in by accident long agoPedro Martelletto
2005-10-31Fix reading large files; from NetBSD. Somehow this was overlookedOtto Moerbeek
when earlier merges were done. Fixes PR 4250. ok millert@ deraadt@
2004-08-03NFS commit coalescion: instead of sending a commit for each block, coalescemarius eriksen
these into larger ranges wherever possible. this should speed up NFS writes quite a bit. ok art@ millert@ pedro@ tedu@
2004-07-21kqueue support for NFS, adapted from netbsd.marius eriksen
ok art@ pedro@, "get it in" deraadt@
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-13Kill a bunch more commons (very few left =)Jason Wright
2002-05-21Protect calls to biodone with splbio. Some functions calledArtur Grabowski
by biodone assume splbio (probably just on other filesystems) and some callbacks from b_iodone assume it too. It's just much safer. costa@ ok.
2002-02-08There are NFS servers where it's possible to modify a symbolic link. Remove ↵Constantine Sapuntzakis
aggressive optimization
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-14Workaround a compiler bug on m68k.Artur Grabowski
2001-12-10Merge in struct uvm_vnode into struct vnode.Artur Grabowski
2001-11-30Whooops.Artur Grabowski
Stop returning EINPROGRESS now that the caller doesn't understand it anymore.
2001-11-30Call buf_cleanout, which handles wakeupsConstantine Sapuntzakis
2001-11-29Make sure the nfs vnodes are on the syncer worklist.Artur Grabowski
2001-11-29Make sure the whole buffer is initialized before calling bgetvp.Artur Grabowski
Recommended by csapuntz@
2001-11-29Correctly handle b_vp with bgetvp and brelvp in {get,put}pages.Artur Grabowski
Prevents panics caused by vnodes being recycled under our feet.
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-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
2001-06-27Remove old vm.Artur Grabowski
2001-06-25Get rid of some dead code caused by the last commitConstantine Sapuntzakis
2001-06-25Remove NQNFSConstantine Sapuntzakis
2001-06-25Get rid of old directory caching scheme which caused persistent duplicates.Constantine Sapuntzakis
Still not correct for NFSv3 but that's hard.
2001-02-23Change the B_DELWRI flag using buf_dirty and buf_undirty instead ofConstantine Sapuntzakis
manually twiddling it. This allows the buffer cache to more easily keep track of dirty buffers and decide when it is appropriate to speed up the syncer. Insipired by FreeBSD. Look over by art@
2001-02-23Remove the clustering fields from the vnodes and place them in theConstantine Sapuntzakis
file system inode instead
2000-06-23remove obsolete vtrace guts; art@Michael Shalayeff
1999-02-26compatibility with uvm vnode pagerArtur Grabowski
1997-12-02More splbio()'s added so that reassignbuf can do its thing.Constantine Sapuntzakis
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
1996-07-27fvdl; Don't mistake a non-async block that needs to be commited for anTheo de Raadt
interrupted write.
1996-07-21Ensure we never use more than one callout table slotThorsten Lockert
1996-06-14Keep dirty list used by in-kernel update(8) in sync with buffersThorsten Lockert
1996-05-28syncTheo de Raadt
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
1996-01-08graichen@freebsd.org: fixed -type:=direct mounts in amddm
1995-10-18initial import of NetBSD treeTheo de Raadt