freebsd-dev/sys
Rick Macklem be8b35eda7 Add checks for MNTK_UNMOUNTF at the beginning of three
functions, so that threads don't get stuck in them during
a forced dismount. nfs_sync/VFS_SYNC() needs this, since it is
called by dounmount() before VFS_UNMOUNT(). The nfscl_nget()
case makes sure that a thread doing an VOP_OPEN() or
VOP_ADVLOCK() call doesn't get blocked before attempting
the RPC. Attempting RPCs don't block, since they all
fail once a forced dismount is in progress.
The third one at the beginning of nfsrpc_close()
is done so threads don't get blocked while doing VOP_INACTIVE()
as the vnodes are cleared out.
With these three changes plus a change to the umount(1)
command so that it doesn't do "sync()" for the forced case
seem to make forced dismounts work for the experimental NFS
client.

MFC after:	2 weeks
2011-04-17 23:04:03 +00:00
..
amd64 Add a function rdtsc32() to read lower 32 bits from TSC and discard upper 2011-04-14 16:53:32 +00:00
arm Add basic support for the Marvell Orion TS-7800. 2011-04-15 13:37:43 +00:00
boot MFi386: revisions 220389 and 220392 2011-04-16 06:20:49 +00:00
bsm
cam Move a comment to the right place. The rearrange done in r208928 left 2011-04-16 08:38:11 +00:00
cddl
compat
conf Make in_proto.c dependent on either inet or inet6. 2011-04-17 16:35:16 +00:00
contrib Re-merge with ACPICA vendor source. 2011-04-15 21:38:24 +00:00
crypto
ddb
dev Mark the PHY as inactive before the chip is reset. 2011-04-17 13:46:13 +00:00
fs Add checks for MNTK_UNMOUNTF at the beginning of three 2011-04-17 23:04:03 +00:00
gdb
geom Remove an incorrect be16toh() that prevented geom_part_apm from working on 2011-04-15 12:32:52 +00:00
gnu
i386 Add a function rdtsc32() to read lower 32 bits from TSC and discard upper 2011-04-14 16:53:32 +00:00
ia64
isa
kern ktrace: Log the code for all signals (PSIG events). 2011-04-17 14:38:11 +00:00
kgssapi
libkern
mips
modules Remove missing include directory in preparation for adding 2011-04-16 11:15:57 +00:00
net
net80211
netatalk
netgraph Fix error where error variable was assigned result of comparison, 2011-04-17 16:31:21 +00:00
netinet Make in_proto.c dependent on either inet or inet6. 2011-04-17 16:35:16 +00:00
netinet6 Fix IPv6 ND. After r219562 we in nd6_ns_input() were erroneously always 2011-04-17 16:07:08 +00:00
netipsec
netipx
netnatm
netncp
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
pc98
pci
powerpc Adjust debugging string to match the actual function. 2011-04-14 19:37:31 +00:00
rpc
security
sparc64
sun4v
sys Allow using CMSG_NXTHDR with -Wcast-align. 2011-04-17 16:04:39 +00:00
teken
tools
ufs
vm
x86 Use newly added rdtsc32() for DELAY(9) as well. 2011-04-14 19:11:45 +00:00
xdr
xen
files.ts7800 Add basic support for the Marvell Orion TS-7800. 2011-04-15 13:37:43 +00:00
Makefile