summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_subs.c
AgeCommit message (Collapse)Author
2006-05-29revert vfs.nfs.privport sysctl, broke a few architecturesAnil Madhavapeddy
requested by deraadt@
2006-05-28Add support for NFS mounts to be from non-reserved ports:Anil Madhavapeddy
- new sysctl vfs.nfs.privport to require NFS mount requests to be on reserved ports when set to 1 (the default). - mountd now automatically sets the sysctl depending on the -n flag. - add mountd_flags to rc.conf to enable the -n flag at boot. deraadt@ ok
2005-10-19Remove v_vnlock from struct vnode, okay krw@ tedu@Pedro Martelletto
2005-04-02use pool for struct nfsreq; tedu@ pedro@ ok and testing by mark patruck ↵Michael Shalayeff
<mark@2ls4agd.net> on several archs
2005-03-31re-commit marius commit:Theo de Raadt
> fix preposterous time warnings in the nfs client; caused by false hits > in the attribute cache > based on original fix by pedro@, ok pedro@, tedu@; testing kettenis@ was backed out because too close to release put back in now, since tree is unlocked. unfortunately it appears that even after MANY MAILS ON THIS SUBJECT, NOONE HAS DONE THIS. WTF? Noone wants to FINISH jobs anymore?
2005-02-01backout nfs_subs.c rev1.51 nfs_vfsops.c rev1.54:Peter Valchev
fix preposterous time warnings in the nfs client; caused by false hits in the attribute cache too close to release, save for immediately after unlock
2005-01-24fix preposterous time warnings in the nfs client; caused by false hitsmarius eriksen
in the attribute cache based on original fix by pedro@, ok pedro@, tedu@; testing kettenis@
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-08-03When accessing device nodes over nfs, do not trim major and minor numbersMiod Vallat
to 8 bits only; found the hard way by henning@. Ok deraadt@ marius@ millert@
2004-07-21kqueue support for NFS, adapted from netbsd.marius eriksen
ok art@ pedro@, "get it in" deraadt@
2004-07-16kill netiso stuff here as well, millert okHenning Brauer
2004-07-13Change mode_t and nlink_t from 16bit to 32bit. This allows us toTodd C. Miller
use mode_t in syscalls.master and to use mode_t in more places in the kernel. It also makes lint much more useful on kernel code. I've also added a placeholder for st_birthtime to make a UFS2 import easier at some future date. Requested by and OK deraadt@
2004-06-21First step towards more sane time handling in the kernel -- this changesThorsten Lockert
things such that code that only need a second-resolution uptime or wall time, and used to get that from time.tv_secs or mono_time.tv_secs now get this from separate time_t globals time_second and time_uptime. ok art@ niklas@ nordin@
2004-05-14use pool for namei pathbuf. testing ok millert@ tdeval@Ted Unangst
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-10theo doesn't like this codeNathan Binkert
2002-01-16use queue.h macro'sEric Jackson
remove register
2002-01-11Add a new sysctl that removes the requirement for reserved ports to beNathan Binkert
used by the nfs server.
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-10Merge in struct uvm_vnode into struct vnode.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-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-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-06-27Remove old vm.Artur Grabowski
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.
2000-06-26Convert nfs_timer to new timeouts.Artur Grabowski
2000-02-07update to use new checkexp vfs operationassar
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.
1999-02-26compatibility with uvm vnode pagerArtur Grabowski
1999-02-06Use bitwise operations to extract high and low words from the quadTodd C. Miller
in txdr_hyper. This should be more portable than casting to an array of ints and pulling out the two 32-bit words (this produced incorrect results on alpha for the high word for filesystems < 4gig). As a side effect, txdr_hyper now takes a u_quad_t as its first arg, not u_quad_t *.
1999-01-16Do not lose st_blocks on NFSv2 mounts when files>2GBNiklas Hallqvist
1998-08-19Change fxdr_hyper to return a u_quad_t. This minimizes the evil clobberingConstantine Sapuntzakis
of lvalues that ANSI abhors. And it fixes df on NFS version 3 mounts on Sparcs.
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-28indentTheo de Raadt
1997-04-28Previous patch didn't make much sense. We now set the initial NFS xidAngelos D. Keromytis
(for requests) to some random value, and then increase that by a small (1-255) random value for each requests.
1997-04-27Random/unique NFS xids.Angelos D. Keromytis
1997-04-25require reserved ports. avoid ftp bounce.Theo de Raadt
1996-12-18Conditionalize GCC and ANSI/ISO C dependenciesNiklas Hallqvist
1996-12-17NFS attribute cache timeout mount paramdm
1996-10-15nqnfs code is for client+server; spotted by niklasTheo de Raadt
1996-09-25Drop unused variableNiklas Hallqvist
1996-09-21fix NFSSERVER w/o NFSCLIENT; netbsd pr#1780, cgd@netbsd (yes, a 10monthTheo de Raadt
old PR and the fix is mostly unchanged).
1996-07-27fvdl; We're only handling uio with iovcnt == 1, so don't ever attempt toTheo de Raadt
increment uio_iov, this will get us into nasty trouble. (Thanks to Matthias Drochner for tracking this down).
1996-07-23syncTheo de Raadt
1996-05-28syncTheo de Raadt