freebsd-skq/sys
Rick Macklem e2eb210c09 Fix a LOR in the NFS client which could cause a deadlock.
This was reported to the mailing list freebsd-net@freebsd.org
on July 21, 2011 under the subject "LOR with nfsclient sillyrename".
The LOR occurred when nfs_inactive() called vrele(sp->s_dvp)
while holding the vnode lock on the file in s_dvp. This patch
modifies the client so that it performs the vrele(sp->s_dvp)
as a separate task to avoid the LOR. This fix was discussed
with jhb@ and kib@, who both proposed variations of it.

Tested by:	pho, jlott at averesystems.com
Submitted by:	jhb (earlier version)
Reviewed by:	kib
Approved by:	re (kib)
MFC after:	2 weeks
2011-08-02 11:28:42 +00:00
..
amd64 Introduce a tunable to disable the time consuming parts of bootup 2011-07-30 13:33:05 +00:00
arm Add the possibility to specify from kernel configs MAXCPU value. 2011-07-19 00:37:24 +00:00
boot Document the tftp.blksize variable added in src/lib/libstand/tftp.c. 2011-07-25 21:52:17 +00:00
bsm
cam Higher-priority initialization request can eat request scheduling done from 2011-07-30 21:42:53 +00:00
cddl Fix panic in zfs_read() if IO_SYNC flag supplied by checking for 2011-08-02 11:28:33 +00:00
compat Implement the linprocfs swaps file, providing information about the 2011-08-01 19:12:15 +00:00
conf Looks like we're ready for 9.0-BETA1 builds. 2011-07-26 04:00:00 +00:00
contrib
crypto
ddb
dev Do not force AHCI mode on NVIDIA MCP89 SATA controllers. Recent Apple 2011-08-02 11:07:47 +00:00
fs Fix a LOR in the NFS client which could cause a deadlock. 2011-08-02 11:28:42 +00:00
gdb
geom Add some spare fields to the g_class and g_geom structures needed to implement 2011-07-17 20:35:30 +00:00
gnu
i386 Introduce a tunable to disable the time consuming parts of bootup 2011-07-30 13:33:05 +00:00
ia64 Bump MAXCPU for amd64, ia64 and XLP mips appropriately. 2011-07-19 13:00:30 +00:00
isa
kern Fix the LK_NOSHARE lockmgr flag interaction with LK_UPGRADE and 2011-08-01 19:07:03 +00:00
kgssapi Add a small comment about unloading the kgsappi module. 2011-07-16 08:05:49 +00:00
libkern
mips Bump MAXCPU for amd64, ia64 and XLP mips appropriately. 2011-07-19 13:00:30 +00:00
modules
net Add missing MODULE_VERSION() definition to protect against duplicating 2011-08-01 11:24:55 +00:00
net80211 Fix brokenness introduced by my last commit. 2011-07-20 00:36:47 +00:00
netatalk
netgraph remove RESTARTABLE_PANICS option 2011-07-25 09:12:48 +00:00
netinet Add missing break; in r223593. 2011-08-01 13:41:38 +00:00
netinet6 The socket API only specifies SCTP for SOCK_SEQPACKET and 2011-07-12 19:29:29 +00:00
netipsec
netipx
netnatm
netncp
netsmb
nfs
nfsclient Fix a LOR in the NFS client which could cause a deadlock. 2011-08-02 11:24:42 +00:00
nfsserver
nlm
ofed
opencrypto
pc98 Introduce a tunable to disable the time consuming parts of bootup 2011-07-30 13:33:05 +00:00
pci Add new device id of D-Link DGE-530T Rev. C controller. DGE-503T 2011-07-30 01:06:12 +00:00
powerpc Apply r221124 to Book-E: switch to the new NFS client. 2011-07-31 18:34:38 +00:00
rpc
security Provide ability to audit cap_rights_t arguments. 2011-07-18 12:58:18 +00:00
sparc64 Merge from r224217: 2011-07-20 18:51:18 +00:00
sys remove RESTARTABLE_PANICS option 2011-07-25 09:12:48 +00:00
teken
tools
ufs Update to -r224294 to ensure that only one of MNT_SUJ or MNT_SOFTDEP 2011-07-30 00:43:18 +00:00
vm Implement the linprocfs swaps file, providing information about the 2011-08-01 19:12:15 +00:00
x86 Fix build when NEW_PCIB is not defined. 2011-07-16 14:05:34 +00:00
xdr
xen
Makefile