1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/sys
Jeff Roberson 8de00f4a87 This patch adds the "LOCKSHARED" option to namei which causes it to only acquire shared locks on leafs.
The stat() and open() calls have been changed to make use of this new functionality.  Using shared locks in
these cases is sufficient and can significantly reduce their latency if IO is pending to these vnodes.  Also,
this reduces the number of exclusive locks that are floating around in the system, which helps reduce the
number of deadlocks that occur.

A new kernel option "LOOKUP_SHARED" has been added.  It defaults to off so this patch can be turned on for
testing, and should eventually go away once it is proven to be stable.  I have personally been running this
patch for over a year now, so it is believed to be fully stable.

Reviewed by:	jake, obrien
Approved by:	jake
2002-03-12 04:00:11 +00:00
..
alpha Fix a misspelling of mine: s/optomization/optimization/. 2002-03-11 19:58:53 +00:00
amd64 Export a (machine dependent) kernel variable bootdev as 2002-03-10 20:08:44 +00:00
arm
boot CG superfluous prototype. 2002-03-10 22:33:04 +00:00
cam Mark some arguments __unused. 2002-03-11 08:04:59 +00:00
coda Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
compat Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
conf This patch adds the "LOCKSHARED" option to namei which causes it to only acquire shared locks on leafs. 2002-03-12 04:00:11 +00:00
contrib Change two occurrences of HTONS() to use htons(). 2002-02-28 09:56:31 +00:00
crypto - Speedup 3DES by using assembly code for i386. 2002-03-05 09:19:02 +00:00
ddb Allow '.' in identifiers - some ia64 register names contain '.'. 2002-03-10 17:08:24 +00:00
dev Do not concatenate __func__ with strings, because it is not a string. 2002-03-12 00:15:06 +00:00
fs If in strategy we find that we have no devsw on the device anymore we 2002-03-05 13:25:57 +00:00
geom First commit of the GEOM subsystem to make it easier for people to 2002-03-11 21:42:35 +00:00
gnu Remove use of the bogus ioctl DIOCGPART. 2002-03-11 10:11:00 +00:00
i4b remove BSD/OS specific ppp-interface file since the FreeBSD-BSD/OS merger 2002-03-09 13:18:24 +00:00
i386 Add commented out GEOM line to NOTES 2002-03-11 08:27:23 +00:00
ia64 Fix some -Wunused warnings by "using" a macro argument 2002-03-12 00:19:14 +00:00
isa Add SONY VAIO psm controller ISA-PnP ID. 2002-03-10 12:22:17 +00:00
isofs/cd9660 Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
kern This patch adds the "LOCKSHARED" option to namei which causes it to only acquire shared locks on leafs. 2002-03-12 04:00:11 +00:00
libkern DBA update: used the wrong of several NAI DBAs. 2002-03-07 17:52:03 +00:00
modules Add generalized power profile code. 2002-03-04 18:46:13 +00:00
net Simplify the interface cloning framework by handling unit 2002-03-11 09:26:07 +00:00
netatalk
netatm Unbreak fore adapters from POV of warnings. 2002-02-27 21:12:44 +00:00
netgraph Official timeout routines for netgraph nodes that know how to 2002-03-05 20:26:20 +00:00
netinet o Add INET_ADDRSTRLEN and INET6_ADDRSTRLEN defines to <arpa/inet.h> 2002-03-10 06:42:27 +00:00
netinet6 o Add INET_ADDRSTRLEN and INET6_ADDRSTRLEN defines to <arpa/inet.h> 2002-03-10 06:42:27 +00:00
netipx
netkey missing splx 2002-03-01 13:13:17 +00:00
netnatm Fix warnings 2002-02-28 03:02:20 +00:00
netncp
netns
netsmb Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
nfs
nfsclient vhold() our vnode while checking the remote side. 2002-03-08 13:43:43 +00:00
nfsserver Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
pc98 Free allocated buffer at siodetach(). 2002-03-10 07:22:42 +00:00
pccard Get the generic name right 2002-03-03 01:04:39 +00:00
pci Fix warning; amdsmb_abort() is not used. 2002-02-26 01:04:58 +00:00
posix4
powerpc Correct a typo. (* that should've been &) 2002-03-11 07:09:42 +00:00
rpc
security/lomac Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
sparc64 Fix the type of some constants, and make some macros safer by casting 2002-03-11 03:04:28 +00:00
svr4
sys This patch adds the "LOCKSHARED" option to namei which causes it to only acquire shared locks on leafs. 2002-03-12 04:00:11 +00:00
tools Return vnode_if back to its AWK roots. 2002-03-01 01:20:23 +00:00
ufs Fix a bug in ufsdirhash_adjfree() that caused it to incorrectly 2002-03-11 19:13:22 +00:00
vm - Remove a number of extra newlines that do not belong here according to 2002-03-10 21:52:48 +00:00
Makefile