freebsd-skq/sys/nfsclient
rmacklem 3c42ac5cd5 Fix a race that can occur when nfs nfsiod threads are being created.
Without this patch it was possible for a different thread that calls
nfs_asyncio() to snitch a newly created nfsiod thread that was
intended for another caller of nfs_asyncio(), because the nfs_iod_mtx
mutex was unlocked while the new nfsiod thread was created. This patch
labels the newly created nfsiod, so that it is not taken by another
caller of nfs_asyncio(). This is believed to fix the problem reported
on the freebsd-stable email list under the subject:
FreeBSD NFS client/Linux NFS server issue.

Tested by:	to DOT my DOT trociny AT gmail DOT com
Reviewed by:	jhb
MFC after:	2 weeks
2010-01-27 15:22:20 +00:00
..
bootp_subr.c Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
krpc_subr.c Add missing include to make LINT-VIMAGE build as well. 2009-12-27 10:10:38 +00:00
krpc.h
nfs_bio.c Fix a race that can occur when nfs nfsiod threads are being created. 2010-01-27 15:22:20 +00:00
nfs_diskless.c Merge the remainder of kern_vimage.c and vimage.h into vnet.c and 2009-08-01 19:26:27 +00:00
nfs_kdtrace.c Add a MODULE_DEPEND() on the NFS client from dtnfsclient so that dtnfsclient 2009-10-12 18:58:42 +00:00
nfs_kdtrace.h Fix two bugs in DTrace tracing of accesscache and attrcache load events: 2009-03-24 23:16:48 +00:00
nfs_krpc.c Adjust the internal NFS KPI to avoid the last traces of NFS_LEGACYRPC. 2009-06-30 19:10:17 +00:00
nfs_lock.c Remove the old kernel RPC implementation and the NFS_LEGACYRPC option. 2009-06-30 19:03:27 +00:00
nfs_lock.h
nfs_nfsiod.c Fix a race that can occur when nfs nfsiod threads are being created. 2010-01-27 15:22:20 +00:00
nfs_node.c Add LK_NOWITNESS to the vn_lock() calls done on newly created nfs 2009-09-09 20:37:49 +00:00
nfs_subs.c Fix a race that can occur when nfs nfsiod threads are being created. 2010-01-27 15:22:20 +00:00
nfs_vfsops.c Add a timeout for the negative name cache entries in the NFS client. 2010-01-21 20:57:25 +00:00
nfs_vnops.c Fix a race that can occur when nfs nfsiod threads are being created. 2010-01-27 15:22:20 +00:00
nfs.h Fix a race that can occur when nfs nfsiod threads are being created. 2010-01-27 15:22:20 +00:00
nfsargs.h
nfsdiskless.h consolidate parsing of nfs root mount options in one place 2006-12-06 02:15:25 +00:00
nfsm_subs.h Remove the old kernel RPC implementation and the NFS_LEGACYRPC option. 2009-06-30 19:03:27 +00:00
nfsmount.h Add a timeout for the negative name cache entries in the NFS client. 2010-01-21 20:57:25 +00:00
nfsnode.h Fix a race that can occur when nfs nfsiod threads are being created. 2010-01-27 15:22:20 +00:00
nfsstats.h
nlminfo.h