summaryrefslogtreecommitdiff
path: root/sys/nfs
AgeCommit message (Collapse)Author
2001-12-04Readd VOP_MMAP, will be used soon. Right now it's just a question toArtur Grabowski
the filesystem if we're allowed to mmap the file.
2001-12-01Unlock and drop vnode if VOP_GETATTR fails.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-14allow swaples diskless configs; deradt@ okMichael Shalayeff
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-09-16Add some missing lengths checks when passing data from userland toTodd C. Miller
kernel. From based on NetBSD patches.
2001-08-19Remove some more.Artur Grabowski
2001-08-19Stop whining.Artur Grabowski
2001-08-19add __sparc64__ to list of arch's not checked for bloated structures (alsoJason Wright
correct alpha -> __alpha__)
2001-07-27Don't accept arbitrary size file handles as the kernel buffer we are copyingConstantine Sapuntzakis
it into is fixed and on the stack
2001-07-26Back out changes to symlink and mknod that were not well tested.Todd C. Miller
A simple mknod at causes a kernel panic (uvm_fault).
2001-07-26change vop_symlink and vop_mknod to return vpp (the created node)assar
refed, so that the caller can actually use it. update callers and file systems that implement these vnode operations ok'd by art
2001-07-06From NetBSD; Server could lose requests during write-gathering, causing clientNiklas Hallqvist
hangs. Fixes the old typical pwd_mkdb waiting on getblk hang during make release over NFS.
2001-07-03In readdir, set the calling process in the constructed uio structures.Constantine Sapuntzakis
Fixes problems with interruptible NFS mounts.
2001-06-30Get root filehandle via nfs_root.Constantine Sapuntzakis
Fix problem with diskless clients
2001-06-27recieve -> receiveNathan Binkert
2001-06-27Remove old vm.Artur Grabowski
2001-06-26Remove left-over code from cleaning that was causing servers to fail to respondConstantine Sapuntzakis
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-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.
2001-06-23Get rid of several unused vnode operationsConstantine Sapuntzakis
2001-06-05make kqueue behave like selectNiels Provos
2001-05-20tdbi->tags cleanupsAngelos D. Keromytis
2001-05-16No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)Hakan Olsson
2001-03-28Allow tdbi's to appear in mbufs throughout the stack; this allowsAngelos D. Keromytis
security properties of the packets to be pushed up to the application (not done yet). Eventually, this will be turned into a packet attributes framework. Make sure tdbi's are free'd/cleared properly whenever drivers (or NFS) does weird things with mbufs.
2001-03-25Fix v3 double-free, potential mrep double-free. Thanks to dawson and Team forConstantine Sapuntzakis
finding these Found a potential vnode leak in there too.
2001-02-24Cleanup of vnode interface continues. Get rid of VHOLD/HOLDRELE.Constantine Sapuntzakis
Change VM/UVM to use buf_replacevnode to change the vnode associated with a buffer. Addition v_bioflag for flags written in interrupt handlers (and read at splbio, though not strictly necessary) Add vwaitforio and use it instead of a while loop of v_numoutput. Fix race conditions when manipulation vnode free list
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
2001-02-20use void * consistently in vfs_mount and sys_mount. ok @artassar
2001-02-09use correct FREE() do dispose sillyrename on fail; deraadt@ okMichael Shalayeff
2000-11-09PHOLD the nfsd.Artur Grabowski
PRELE the nfsiod when it exits (shouldn't be necessary to PHOLD it because it's a kernel thread, but it doesn't hurt.
2000-08-10unfortunately, i must undo this patch, since it causes client hangs on sparc ↵Theo de Raadt
machines, and only on them. until more is known, out this comes
2000-08-07fix obvious error, spotted by ericjTheo de Raadt
2000-06-30Remove redundant declaration of nfs_init.Artur Grabowski
2000-06-26Convert nfs_timer to new timeouts.Artur Grabowski
2000-06-23remove obsolete vtrace guts; art@Michael Shalayeff
2000-05-24return ENOSYS for NFSSVC_BIOD request. since none to call it anywayMichael Shalayeff
2000-05-22NFS_MAXIDMichael Shalayeff
2000-05-19oops, s/niothreads/iothreads/ in FS_NFS_NAMESMichael Shalayeff
2000-05-19from tsarna@netbsd.org (sysctl changes to come later):Michael Shalayeff
Death to nfsiod! It is replaced by kernel threads that do the same thing. The number of kernel threads used is set with the vfs.nfs.iothreads sysctl.
2000-02-07update to use new checkexp vfs operationassar