summaryrefslogtreecommitdiff
path: root/sys/nfs
AgeCommit message (Collapse)Author
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
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-02-01non-root users can mkfifo over NFS; mrg@netbsd.orgTodd C. Miller
1999-01-16Do not lose st_blocks on NFSv2 mounts when files>2GBNiklas Hallqvist
1999-01-10Fix for creating files on a Solaris 7 server with NFSv3 (the request wasTodd C. Miller
slightly garbled but older servers seemed to understand it); dfr@freebsd.org
1999-01-03print addresses using inet_ntoa ( )Theo de Raadt
1998-12-28Fix fxdr_hyper macro. The cast to signed int caused incorrect behavior in ↵Todd C. Miller
the shift. This only seems to have affected big endian machines.
1998-08-21Fix malloc race in nfs_node.cConstantine Sapuntzakis
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.
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).
1998-05-25nd_procnum should be unsigned; ovg@nusun.jinr.ruTheo de Raadt
1998-05-11compile if iov_base is void *Theo de Raadt
1998-02-28krpc_call() should use random reserved portsTheo de Raadt
1998-02-23do not copy from past end of mbuf; found by ivanTheo de Raadt
1998-02-22Changes made for GCC 2.8 -Wall pleasuresNiklas Hallqvist
1998-02-08Updates to match type changes in syscall tablesThorsten Lockert
1997-12-02More splbio()'s added so that reassignbuf can do its thing.Constantine Sapuntzakis
1997-11-11Make diskless machines boot again. remove staticsNiklas Hallqvist
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-09-06fix #endif; David.Sainty@MCS.VUW.AC.NZTheo de Raadt