summaryrefslogtreecommitdiff
path: root/sys/nfs
AgeCommit message (Collapse)Author
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
2000-02-07removed prototype of sys_getfh - it is now a normal syscallassar
2000-02-07moved sys_getfh to vfs_syscalls.cassar
2000-02-02o Don't call nfs_sillyrename() form nfs_remove if v_type == VDIRTodd C. Miller
(from FreeBSD). This avoids the panic described below. o In nfs_sillyrename(), change a panic if v_type == VDIR to just a printf (ifdef DIAGNOSTIC) and return EINVAL. o When building the .nfs file in nfs_sillyrename() don't assume a pid is only 4 chars long since PID_MAX is 5 chars and use sprintf() instead of converting the pid to ascii by hand. Thanks to Theo for assistance and sanity checking.
2000-01-06Fix for NFS swap device.Steve Murphree
2000-01-05In the NFSMSIZ macro, don't assume that m_ext.ext_size == MCLBYTES.Todd C. Miller
From NetBSD
2000-01-04fix mbuf out-of-bound writes on nfsv2 mounts.Jun-ichiro itojun Hagino
netbsd sys/nfs/nfs_socket.c 1.43 -> 1.44
2000-01-01Correct casts in nfs_statfs() V3 code to correspond to reality (ie:Todd C. Miller
struct statfs). Also, Make sure we do signed arithmatic when computing f_bavail.
1999-06-10Fill in mount_info in nfs_decode_argsTodd C. Miller
o that way zero fields in nfs_args get filled in o changes via mount -u become visible
1999-05-31New struct statfs with mount options. NOTE: this replaces statfs(2),Todd C. Miller
fstatfs(2), and getfsstat(2) so you will need to build a new kernel before doing a "make build" or you will get "unimplemented syscall" errors. The new struct statfs has the following featuires: o Has a u_int32_t flags field--now softdep can have a real flag. o Uses u_int32_t instead of longs (nicer on the alpha). Note: the man page used to lie about setting invalid/unused fields to -1. SunOS does that but our code never has. o Gets rid of f_type completely. It hasn't been used since NetBSD 0.9 and having it there but always 0 is confusing. It is conceivable that this may cause some old code to not compile but that is better than silently breaking. o Adds a mount_info union that contains the FSTYPE_args struct. This means that "mount" can now tell you all the options a filesystem was mounted with. This is especially nice for NFS. Other changes: o The linux statfs emulation didn't convert between BSD fs names and linux f_type numbers. Now it does, since the BSD f_type number is useless to linux apps (and has been removed anyway) o FreeBSD's struct statfs is different from our (both old and new) and thus needs conversion. Previously, the OpenBSD syscalls were used without any real translation. o mount(8) will now show extra info when invoked with no arguments. However, to see *everything* you need to use the -v (verbose) flag.
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-03-15do not call nfsm_adj() with negative values; dmTheo de Raadt
1999-03-02When an NFS3 server replies with NFS3ERR_JUKEBOX, currently, itTodd C. Miller
panics the kernel, because the kernel tries to reuse a freed mbuf; dm@reeducation-labor.lcs.mit.edu