freebsd-dev/sys/nfsclient
Rick Macklem 651ff543f8 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
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
nfs_krpc.c
nfs_lock.c
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
nfsm_subs.h
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