freebsd-skq/sys
Konstantin Belousov 223073fd1a Do not synchronously start the nfsiod threads at all. The r212506
fixed the issues with file descriptor locks, but the same problems are
present for vnode lock/user map lock.

If the nfs_asyncio() cannot find the free nfsiod, schedule task to
create new nfsiod and return error. This causes fall back to the
synchronous i/o for nfs_strategy(), or does not start read at all in
the case of readahead. The caller that holds vnode and potentially
user map lock does not wait for kproc_create() to finish, preventing
the LORs.

The change effectively reverts r203072, because we never hand off the
request to newly created nfsiod thread anymore.

Reviewed by:	jhb
Tested by:	jhb, pluknet
MFC after:	3 weeks
2010-10-18 19:06:46 +00:00
..
amd64 Update pmap_extract() to handle 1GB page mappings. Some device drivers 2010-10-15 15:23:34 +00:00
arm Set of legacy mode SATA enchancements: 2010-10-18 11:30:13 +00:00
boot mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
bsm
cam Decrease poll interval from 1000 to 100us. This significantly reduces 2010-09-22 05:17:18 +00:00
cddl zfs: add vop_getpages method implementation 2010-10-16 20:43:05 +00:00
compat Remove stale comment. 2010-10-14 19:30:44 +00:00
conf Add three new drivers for fan control and temperature reading on the 2010-10-15 20:08:16 +00:00
contrib Merge ACPICA 20101013. 2010-10-13 21:37:02 +00:00
crypto Change two missed instances of 'retq' in aeskeys_i386.S to 'retl', which 2010-10-13 17:55:53 +00:00
ddb One more use for _SIG_VALID. 2010-07-12 10:18:10 +00:00
dev Fix grammar. 2010-10-18 14:26:29 +00:00
fs Fix a possible race where the directory dirent is moved to the location 2010-10-18 03:34:33 +00:00
gdb there must be only one SYSINIT with SI_SUB_RUN_SCHEDULER+SI_ORDER_ANY order 2010-09-30 17:05:23 +00:00
geom The canonical way to print __func__ when using KASSERT() is to write 2010-10-13 11:35:59 +00:00
gnu The r184588 changed the layout of struct export_args, causing an ABI 2010-10-10 07:05:47 +00:00
i386 Remove trailing ", " from `sysctl machdep.idle_available' output. 2010-10-12 20:53:12 +00:00
ia64 Fix bogus error message from bus_dmamem_alloc() about incorrect alignment. 2010-09-29 21:53:11 +00:00
isa bus_add_child: change type of order parameter to u_int 2010-09-10 11:19:03 +00:00
kern We've already set p = td->td_proc, so use it. 2010-10-18 15:46:58 +00:00
kgssapi
libkern Make the RPC specific __rpc_inet_ntop() and __rpc_inet_pton() general 2010-09-24 15:01:45 +00:00
mips Converted the remainder of the NIC drivers to use the mii_attach() 2010-10-15 15:00:30 +00:00
modules Re-add opt_mps.h and opt_cam.h, lost in the previous rev. 2010-10-17 20:01:56 +00:00
net Close a race acquiring the IF_ADDR_LOCK() for each entry while iterating 2010-10-16 19:25:27 +00:00
net80211 Fix background roaming to actually work in AUTO roaming mode. 2010-10-01 09:18:30 +00:00
netatalk
netgraph When calling panic(), always pass a format string. 2010-10-13 17:21:21 +00:00
netinet MfP4 CH182763 (original version): 2010-10-16 19:53:22 +00:00
netinet6 Purposely tell the compiler that we ignore the return value of ADDCARRY() 2010-10-13 10:45:22 +00:00
netipsec Remove dead code: 2010-10-14 15:15:22 +00:00
netipx
netnatm
netncp
netsmb
nfs Move sys/nfsclient/nfs_lock.c into sys/nfs and build it as a separate 2010-07-24 22:11:11 +00:00
nfsclient Do not synchronously start the nfsiod threads at all. The r212506 2010-10-18 19:06:46 +00:00
nfsserver - When VFS_VGET() is not supported, switch to VOP_LOOKUP(). 2010-08-26 23:41:40 +00:00
nlm Make the RPC specific __rpc_inet_ntop() and __rpc_inet_pton() general 2010-09-24 15:01:45 +00:00
opencrypto Add support for AES-XTS. 2010-09-23 11:52:32 +00:00
pc98 Remove trailing ", " from `sysctl machdep.idle_available' output. 2010-10-12 20:53:12 +00:00
pci Convert the PHY drivers to honor the mii_flags passed down and convert 2010-10-15 14:52:11 +00:00
powerpc Add three new drivers for fan control and temperature reading on the 2010-10-15 20:08:16 +00:00
rpc Fix the krpc so that it can handle NFSv3,UDP mounts with a read/write 2010-10-13 00:57:14 +00:00
security Replace sbuf_overflowed() with sbuf_error(), which returns any error 2010-09-10 16:42:16 +00:00
sparc64 - In oneshot-mode it doesn't make sense to try to compensate the clock 2010-10-17 16:46:54 +00:00
sun4v Just use the sparc64 version of this header rather than duplicating it. 2010-10-08 14:50:58 +00:00
sys Rename boot() to kern_reboot() and make it visible outside of 2010-10-18 04:30:27 +00:00
teken Make ^L with cons25 and origin mode bit more sane. 2010-08-09 18:07:15 +00:00
tools Add an extra comment to the SDT probes definition. This allows us to get 2010-08-22 11:18:57 +00:00
ufs The r184588 changed the layout of struct export_args, causing an ABI 2010-10-10 07:05:47 +00:00
vm Change uma_zone_set_max to return the effective value of "nitems" after 2010-10-16 04:41:45 +00:00
x86 atrtc: remove (pre-)historic check of RTC NVRAM at address 0x0e 2010-10-16 10:45:36 +00:00
xdr
xen
Makefile