summaryrefslogtreecommitdiffstats
path: root/sys/nfs/nfs_node.c
AgeCommit message (Expand)AuthorFilesLines
2020-01-20struct vops is not modified during runtime so use const which moves eachclaudio1-2/+2
2018-05-27Drop unnecessary `p' parameter from vget(9).visa1-3/+2
2018-05-05Implement proper locking for NFS nodes.mpi1-2/+9
2018-04-28Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is alwaysvisa1-2/+2
2018-04-09Change the representation of an NFS mount point by caching the rootmpi1-13/+1
2018-03-28Check for possible race after sleeping instead of using a rwlock tompi1-15/+7
2016-09-27replace the use of RB macros with the RBT functions.dlg1-7/+13
2016-03-19Remove the unused flags argument from VOP_UNLOCK().natano1-2/+2
2016-02-09sync a function's comment with its signaturemmcc1-4/+3
2015-03-14Remove some includes include-what-you-use claims don'tjsg1-2/+1
2014-12-23to be safe, revert locking change until further tested.tedu1-9/+5
2014-12-23optimize locking a wee bit by holding it for critical parts onlytedu1-5/+9
2014-12-16primary change: move uvm_vnode out of vnode, keeping only a pointer.tedu1-1/+2
2014-11-15add sizes for free(ptr, sizeof(*ptr)). use sizeof(*ptr) for malloc sizes.tedu1-2/+2
2014-09-14remove uneeded proc.h includesjsg1-2/+2
2014-07-12add a size argument to free. will be used soon, but for now default to 0.tedu1-2/+2
2010-12-21Bring back the "End the VOP experiment." diff, naddy's issues wherethib1-3/+5
2010-09-10Backout the VOP diff until the issues naddy was seeing on alpha (gcc3)thib1-5/+3
2010-09-06End the VOP experiment. Instead of the ridicolusly complicated operationthib1-3/+5
2010-08-07No "\n" needed at the end of panic() strings.krw1-3/+3
2009-12-17This fixes a case where we could panic on a null deref with a bad vnodebeck1-6/+32
2009-12-15back out previous fix, apparently neither art or i can fix anything right on the first trybeck1-2/+1
2009-12-15This fixes a case where we could panic on a null deref with a bad vnodebeck1-1/+2
2009-08-14Use the nfs_hashlock to protect the nfs_nodetree hanging of the mount.thib1-9/+27
2009-08-11tiny knf and use curproc directly instead of a setting up a local procthib1-10/+6
2009-08-10Use an RB tree instead of a hashtable for fh/node lookups.thib1-51/+44
2009-07-20(struct foo *)0 -> NULL, every where I could find it.thib1-3/+3
2008-12-24Replace the TRUE/FALSE defines with 1/0 respectively. This doesn'tthib1-4/+1
2008-12-23small indent fixthib1-9/+8
2008-08-09o nfs_vinvalbuf() is always called with the intrflag as 1, and thenthib1-2/+2
2008-08-08Remove code for variable-sized allocations of NFS filehandles by malloc(),blambert1-9/+2
2008-06-14A bunch of pool_get() + bzero() -> pool_get(..., .. | PR_ZERO)mk1-3/+2
2008-06-11Canonical for() -> queue.h FOREACH macro conversions.blambert1-2/+3
2008-06-10o Avoid putting duplicate entries into the name cache,thib1-1/+2
2007-12-13Garbage collect nfsdmap and leftover code. That structurethib1-18/+3
2007-09-20MALLOC/FREE -> malloc/free + M_ZERO.thib1-3/+3
2007-06-01pedro ok'd this ~3500 line diff which removes the vop argumentderaadt1-8/+3
2007-05-29Add a name argument to the RWLOCK_INITIALIZER macro.thib1-2/+2
2007-05-28lockmgr -> rwlock for the nfs_hashlock.thib1-7/+6
2006-05-07add a name to rwlock so that we can tell where procs are getting stucktedu1-2/+2
2006-01-09Put vprint() under DIAGNOSTIC, as to save space in generated ramdisks.pedro1-1/+7
2005-11-19Use NULL where NULL is meantpedro1-2/+2
2005-11-19Remove unnecessary lockmgr() archaism that was costing too much in termspedro1-4/+4
2004-12-26Use list and queue macros where applicable to make the code easier to read;miod1-2/+2
2004-08-03NFS commit coalescion: instead of sending a commit for each block, coalescemarius1-1/+3
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert1-6/+2
2002-07-02use hash.h for nfs_hash as well as namei's hashericj1-20/+4
2002-03-14First round of __P removal in sysmillert1-2/+2
2002-02-23Sigh. The diff is out for testing for three months without a single problem.art1-25/+11
2002-02-22More locking in the NFS codecsapuntz1-11/+25