Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-02-23 | backout previous revision -- on nfs2 mounts (perhaps only automounted?) it | Theo de Raadt | |
tends to .nfs silly files lying around during high filesystem activity. whatever bug it was trying to fix, it made things worse. | |||
2007-01-21 | don't assume our directory vnode will be flushed out after us, fixes | Pedro Martelletto | |
crash when unmounting nfs volumes, okay thib@, krw@ and mickey@ | |||
2007-01-16 | Retire VOP_LEASE(); It was a bit for NQNFS and has | Thordur I. Bjornsson | |
effectively been a no-op for quite some time now, without promise for future usage. ok pedro@ Testing by krw@ (earlier diff) and Johan Mson Lindman (tybollt@solace.miun.se) | |||
2006-12-29 | Avoid void * arithmetic, okay deraadt@, suggestions from millert@ | Pedro Martelletto | |
2006-12-06 | nfs_readdirplusrpc(): | Thordur I. Bjornsson | |
Replace the pointer aerobics used to construct the namecache hash with a more saner approach since the former could lead to a null deref (PR5305). Also make sure that the current buf is bigenough before caching the current entry. comments&ok pedro@ | |||
2006-11-29 | Kernel stack can be swapped. This means that stuff that's on the stack | Miod 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-01 | move the declaration of nfsstats from nfs_bio.c to | Thordur I. Bjornsson | |
nfs_subs.c so it gets pulled in for NFSSERVER only kernels. ok deraadt@,krw@ | |||
2006-10-28 | Dont initialize the nm_srtt and nm_sdrtt arrays | Thordur I. Bjornsson | |
out of bounds. ok pedro@ | |||
2006-10-04 | typo, from Bret Lambert | Pedro Martelletto | |
2006-09-20 | Fix the way delays between request retransmissions are calculated | Thordur I. Bjornsson | |
in the case where NFSERR_TRYLATER is received from the server. Adapted from NetBSD. ok pedro@, tedu@ | |||
2006-08-04 | Fix up mbuf length and do 64-bit alignment where needed, joint work | Pedro Martelletto | |
with Nicholas Marriott <nicm__@ntlworld.com>, closes PR 5036 | |||
2006-06-25 | rename vfs_busy() flags VB_UMIGNORE/VB_UMWAIT to VB_NOWAIT/VB_WAIT | Nikolay Sturm | |
requested by and ok pedro | |||
2006-06-17 | adopt to extended rtrequest / rtalloc1 api | Henning Brauer | |
2006-06-14 | move vfs_busy() to rwlocks and properly hide the locking api from vfs | Nikolay Sturm | |
ok tedu, pedro | |||
2006-05-29 | revert vfs.nfs.privport sysctl, broke a few architectures | Anil Madhavapeddy | |
requested by deraadt@ | |||
2006-05-28 | Add 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 | |||
2006-05-26 | prettier printing | Theo de Raadt | |
2006-05-07 | add a name to rwlock so that we can tell where procs are getting stuck | Ted Unangst | |
without breaking into ddb. doubles the size of rwlock [1], but moving forward this really helps. ok/tested pedro fgsch millert krw [1 - next person to add a field to this struct gets whipped with a wet noodle] | |||
2006-04-30 | remove the simplelock argument from vfs_busy() which is currently not | Nikolay Sturm | |
used and will never be used this way in VFS requested by and ok pedro, ok krw, biorn | |||
2006-04-26 | In nfs_readdir(), if the buffer provided by the user is not big enough | Pedro Martelletto | |
to hold all the entries a directory has, we can't signal EOF. Okay deraadt@ and miod@. | |||
2006-04-20 | Remove unused debug code that sneaked in by accident long ago | Pedro Martelletto | |
2006-04-19 | Remove unused mount list simple_lock() goo | Pedro Martelletto | |
2006-04-02 | When setting timestamps TOSERVER having write permissions is adaquate; | Otto Moerbeek | |
problem experienced by Han Boetes; fix with "nfs4" rick at snowhite dot cis dot uoguelph dot ca. ok pedro@ tedu@ | |||
2006-01-24 | Fix NULL dereference on error condition in nfs_reply(). nmp->nm_so can | Aaron Campbell | |
become NULL if the nfs_reply() -> nfs_receive() -> nfs_reconnect() datapath fails. pedro@ ok "I think this is a good fix" | |||
2006-01-09 | Put vprint() under DIAGNOSTIC, as to save space in generated ramdisks. | Pedro Martelletto | |
Inspiration from miod@, okay deraadt@. Tested on i386, macppc and amd64. | |||
2005-12-27 | Remove unused sw_nblks field of struct swdevt. Then, remove swapconf() | Miod Vallat | |
which duplicates work done by uvm_swap_init(). | |||
2005-11-30 | No need for vfs_busy() and vfs_unbusy() to take a process pointer | Pedro Martelletto | |
anymore. Testing by jolan@, thanks. | |||
2005-11-19 | Use NULL where NULL is meant | Pedro Martelletto | |
2005-11-19 | Remove unnecessary lockmgr() archaism that was costing too much in terms | Pedro Martelletto | |
of panics and bugfixes. Access curproc directly, do not expect a process pointer as an argument. Should fix many "process context required" bugs. Incentive and okay millert@, okay marc@. Various testing, thanks. | |||
2005-10-31 | Fix reading large files; from NetBSD. Somehow this was overlooked | Otto Moerbeek | |
when earlier merges were done. Fixes PR 4250. ok millert@ deraadt@ | |||
2005-10-19 | Remove v_vnlock from struct vnode, okay krw@ tedu@ | Pedro Martelletto | |
2005-09-29 | toast cast of lvalue; pr 4289 | Theo de Raadt | |
2005-06-18 | Remove remaining whiteout tentacles; OK deraadt@ miod@ weingart@ | Todd C. Miller | |
2005-06-08 | make nfsstats counters 64 bit. | marius eriksen | |
ok pedro@ | |||
2005-05-22 | optimize nfs_sync() a bit, by not iterating over the list of vnodes | Pedro Martelletto | |
belonging to a mount point if we want to skip all of them, okay art@ a couple of days ago, commit it deraadt@ | |||
2005-04-21 | careful strlcpy and snprintf return handling; ok pedro beck | Theo de Raadt | |
2005-04-02 | use pool for struct nfsreq; tedu@ pedro@ ok and testing by mark patruck ↵ | Michael Shalayeff | |
<mark@2ls4agd.net> on several archs | |||
2005-04-01 | at long last, disable write gathering for v3. ok like everyone | Ted Unangst | |
2005-03-31 | re-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-03-31 | re-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-01 | backout 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-24 | fix preposterous time warnings in the nfs client; caused by false hits | marius eriksen | |
in the attribute cache based on original fix by pedro@, ok pedro@, tedu@; testing kettenis@ | |||
2004-12-26 | Use list and queue macros where applicable to make the code easier to read; | Miod Vallat | |
no change in compiler assembly output. | |||
2004-12-10 | In nfs_connect() move the setting of so->so_rcv.sb_timeo out of the | Todd C. Miller | |
if () else since it is common to both cases and makes the code clearer. OK pedro@ | |||
2004-11-18 | enable receive() accounting and use uio_procp for send() accounting, too | Markus Friedl | |
ok deraadt, jared, djm | |||
2004-11-04 | implememtation -> implementation | Pedro Martelletto | |
2004-08-03 | NFS commit coalescion: instead of sending a commit for each block, coalesce | marius eriksen | |
these into larger ranges wherever possible. this should speed up NFS writes quite a bit. ok art@ millert@ pedro@ tedu@ | |||
2004-08-03 | When accessing device nodes over nfs, do not trim major and minor numbers | Miod Vallat | |
to 8 bits only; found the hard way by henning@. Ok deraadt@ marius@ millert@ | |||
2004-07-21 | kqueue support for NFS, adapted from netbsd. | marius eriksen | |
ok art@ pedro@, "get it in" deraadt@ | |||
2004-07-16 | kill netiso stuff here as well, millert ok | Henning Brauer | |